Module org.tquadrat.foundation.svg
Package org.tquadrat.foundation.svg
Interface AllowsPresentationAttributes
- All Known Subinterfaces:
SVG
,SVGClipPath
,SVGGroup
,SVGLine
,SVGMarker
,SVGPath
,SVGPositionedMarker
,SVGRectangle
,SVGSymbol
,SVGText
,SVGTSpan
,SVGUse
- All Known Implementing Classes:
SVGClipPathImpl
,SVGElementAdapter
,SVGGenericElement
,SVGGroupImpl
,SVGImpl
,SVGLineImpl
,SVGMarkerImpl
,SVGPathImpl
,SVGPositionedMarkerImpl
,SVGRectangleImpl
,SVGSymbolImpl
,SVGTextImpl
,SVGTSpanImpl
,SVGUseImpl
@ClassVersion(sourceVersion="$Id: AllowsPresentationAttributes.java 1074 2023-10-02 12:05:06Z tquadrat $")
@API(status=STABLE,
since="0.0.5")
public sealed interface AllowsPresentationAttributes
permits SVG, SVGClipPath, SVGGroup, SVGLine, SVGMarker, SVGPath, SVGRectangle, SVGSymbol, SVGTSpan, SVGText, SVGUse
SVG elements that allow the presentation attributes
"alignment-baseline",
"baseline-shift",
"clip",
"clip-path",
"clip-rule",
"color",
"color-interpolation",
"color-interpolation-filters",
"color-profile",
"color-rendering",
"cursor",
"direction",
"display",
"dominant-baseline",
"enable-background",
"fill",
"fill-opacity",
"fill-rule",
"filter",
"flood-color",
"flood-opacity",
"font-family",
"font-size",
"font-size-adjust",
"font-stretch",
"font-style",
"font-variant",
"font-weight",
"glyph-orientation-horizontal",
"glyph-orientation-vertical",
"image-rendering",
"kerning",
"letter-spacing",
"lighting-color",
"marker-end",
"marker-mid",
"marker-start",
"mask",
"opacity",
"overflow",
"pointer-events",
"shape-rendering",
"stop-color",
"stop-opacity",
"stroke",
"stroke-dasharray",
"stroke-dashoffset",
"stroke-linecap",
"stroke-linejoin",
"stroke-miterlimit",
"stroke-opacity",
"stroke-width",
"text-anchor",
"text-decoration",
"text-rendering",
"transform",
"unicode-bidi",
"vector-effect",
"visibility",
"word-spacing",
and
"writing-mode"
will implement this interface.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: AllowsPresentationAttributes.java 1074 2023-10-02 12:05:06Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.svg.AllowsPresentationAttributes"
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe presentation attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the presentation attributealignment-baseline
for this SVG element.void
setBaselineShift
(String value) Sets the presentation attributebaseline-shift
for this SVG element.void
Sets the presentation attributeclip
for this SVG element.void
setClipPath
(URI value) Sets theclip-path
attribute for this SVG element.void
setClipRule
(String value) Sets the presentation attributeclip-rule
for this SVG element.void
Sets the colour for this SVG element.void
setColorInterpolation
(String value) Sets the presentation attributecolor-interpolation
for this SVG element.void
Sets the presentation attributecolor-interpolation-filters
for this SVG element.void
setColorProfile
(String value) Sets the presentation attributecolor-profile
for this SVG element.void
setColorRendering
(String value) Sets the presentation attributecolor-rendering
for this SVG element.void
Sets the presentation attributecursor
for this SVG element.void
setDirection
(String value) Sets the presentation attributedirection
for this SVG element.void
setDisplay
(String value) Sets the presentation attributedisplay
for this SVG element.void
setDominantBaseline
(String value) Sets the presentation attributedominant-baseline
for this SVG element.void
setEnableBackground
(String value) Sets the presentation attributeenable-background
for this SVG element.void
Sets the presentation attributefill
for this SVG element.void
setFillOpacity
(String value) Sets the presentation attributefill-opacity
for this SVG element.void
setFillRule
(String value) Sets the presentation attributefill-rule
for this SVG element.void
Sets the presentation attributefilter
for this SVG element.void
setFloodColor
(String value) Sets the presentation attributeflood-color
for this SVG element.void
setFloodOpacity
(String value) Sets the presentation attributeflood-opacity
for this SVG element.void
setFontFamily
(String value) Sets the presentation attributefont-family
for this SVG element.void
setFontSize
(String value) Sets the presentation attributefont-size
for this SVG element.void
setFontSizeAdjust
(String value) Sets the presentation attributefont-size-adjust
for this SVG element.void
setFontStretch
(String value) Sets the presentation attributefont-stretch
for this SVG element.void
setFontStyle
(String value) Sets the presentation attributefont-style
for this SVG element.void
setFontVariant
(String value) Sets the presentation attributefont-variant
for this SVG element.void
setFontWeight
(String value) Sets the presentation attributefont-weight
for this SVG element.void
Sets the presentation attributeglyph-orientation-horizontal
for this SVG element.void
Sets the presentation attributeglyph-orientation-vertical
for this SVG element.void
setImageRendering
(String value) Sets the presentation attributeimage-rendering
for this SVG element.void
setKerning
(String value) Sets the presentation attributekerning
for this SVG element.void
setLetterSpacing
(String value) Sets the presentation attributeletter-spacing
for this SVG element.void
setLightingColor
(String value) Sets the presentation attributelighting-color
for this SVG element.void
setMarkerEnd
(URI value) Sets themarker-end
attribute for this SVG element.void
setMarkerMid
(URI value) Sets themarker-mid
attribute for this SVG element.void
setMarkerStart
(URI value) Sets themarker-start
attribute for this SVG element.void
Sets the presentation attributemask
for this SVG element.void
setOpacity
(String value) Sets the presentation attributeopacity
for this SVG element.void
setOverflow
(String value) Sets the presentation attributeoverflow
for this SVG element.void
setPointerEvents
(String value) Sets the presentation attributepointer-events
for this SVG element.void
setShapeRendering
(String value) Sets the presentation attributeshape-rendering
for this SVG element.void
setStopColor
(String value) Sets the presentation attributestop-color
for this SVG element.void
setStopOpacity
(String value) Sets the presentation attributestop-opacity
for this SVG element.void
Sets the presentation attributestroke
for this SVG element.void
setStrokeDashArray
(String value) Sets the presentation attributestroke-dasharray
for this SVG element.void
setStrokeDashOffset
(String value) Sets the presentation attributestroke-dashoffset
for this SVG element.void
setStrokeLineCap
(String value) Sets the presentation attributestroke-linecap
for this SVG element.void
setStrokeLineJoin
(String value) Sets the presentation attributestroke-linejoin
for this SVG element.void
setStrokeMiterLimit
(String value) Sets the presentation attributestroke-miterlimit
for this SVG element.void
setStrokeOpacity
(double value) Sets the presentation attributestroke-opacity
for this SVG element.
Any type outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range.void
setStrokeWidth
(SVGNumber value) Sets the presentation attributestroke-width
for this SVG element.void
setTextAnchor
(String value) Sets the presentation attributetext-anchor
for this SVG element.void
setTextDecoration
(String value) Sets the presentation attributetext-decoration
for this SVG element.void
setTextRendering
(String value) Sets the presentation attributetext-rendering
for this SVG element.void
setTransform
(SVGTransform... values) Sets the transformations for this SVG element.void
setUnicodeBidi
(String value) Sets the presentation attributeunicode-bidi
for this SVG element.void
setVectorEffect
(String value) Sets the presentation attributevector-effect
for this SVG element.void
setVisibility
(String value) Sets the presentation attributevisibility
for this SVG element.void
setWordSpacing
(String value) Sets the presentation attributeword-spacing
for this SVG element.void
setWritingMode
(String value) Sets the presentation attributewriting-mode
for this SVG element.
-
Field Details
-
PRESENTATION_ATTRIBUTES
The presentation attributes.
-
-
Method Details
-
setAlignmentBaseline
Sets the presentation attributealignment-baseline
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setBaselineShift
Sets the presentation attributebaseline-shift
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setClip
Sets the presentation attributeclip
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setClipPath
Sets theclip-path
attribute for this SVG element.- Parameters:
value
- The URI for the clip path.- See Also:
-
setClipRule
Sets the presentation attributeclip-rule
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setColor
Sets the colour for this SVG element.- Parameters:
value
- The colour.- See Also:
-
setColorInterpolation
Sets the presentation attributecolor-interpolation
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setColorInterpolationFilters
Sets the presentation attributecolor-interpolation-filters
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setColorProfile
Sets the presentation attributecolor-profile
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setColorRendering
Sets the presentation attributecolor-rendering
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setCursor
Sets the presentation attributecursor
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setDirection
Sets the presentation attributedirection
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setDisplay
Sets the presentation attributedisplay
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setDominantBaseline
Sets the presentation attributedominant-baseline
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setEnableBackground
Sets the presentation attributeenable-background
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFill
Sets the presentation attributefill
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFillOpacity
Sets the presentation attributefill-opacity
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFillRule
Sets the presentation attributefill-rule
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFilter
Sets the presentation attributefilter
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFloodColor
Sets the presentation attributeflood-color
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFloodOpacity
Sets the presentation attributeflood-opacity
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontFamily
Sets the presentation attributefont-family
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontSize
Sets the presentation attributefont-size
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontSizeAdjust
Sets the presentation attributefont-size-adjust
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontStretch
Sets the presentation attributefont-stretch
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontStyle
Sets the presentation attributefont-style
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontVariant
Sets the presentation attributefont-variant
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setFontWeight
Sets the presentation attributefont-weight
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setGlyphOrientationHorizontal
Sets the presentation attributeglyph-orientation-horizontal
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setGlyphOrientationVertical
Sets the presentation attributeglyph-orientation-vertical
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setImageRendering
Sets the presentation attributeimage-rendering
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setKerning
Sets the presentation attributekerning
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setLetterSpacing
Sets the presentation attributeletter-spacing
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setLightingColor
Sets the presentation attributelighting-color
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setMarkerEnd
Sets themarker-end
attribute for this SVG element.- Parameters:
value
- The URI for the marker.- See Also:
-
setMarkerMid
Sets themarker-mid
attribute for this SVG element.- Parameters:
value
- The URI for the marker.- See Also:
-
setMarkerStart
Sets themarker-start
attribute for this SVG element.- Parameters:
value
- The URI for the marker.- See Also:
-
setMask
Sets the presentation attributemask
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setOpacity
Sets the presentation attributeopacity
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setOverflow
Sets the presentation attributeoverflow
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setPointerEvents
Sets the presentation attributepointer-events
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setShapeRendering
Sets the presentation attributeshape-rendering
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStopColor
Sets the presentation attributestop-color
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStopOpacity
Sets the presentation attributestop-opacity
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStroke
Sets the presentation attributestroke
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeDashArray
Sets the presentation attributestroke-dasharray
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeDashOffset
Sets the presentation attributestroke-dashoffset
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeLineCap
Sets the presentation attributestroke-linecap
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeLineJoin
Sets the presentation attributestroke-linejoin
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeMiterLimit
Sets the presentation attributestroke-miterlimit
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeOpacity
Sets the presentation attributestroke-opacity
for this SVG element.
Any type outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range.- Parameters:
value
- The attribute type.- See Also:
-
setStrokeWidth
Sets the presentation attributestroke-width
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setTextAnchor
Sets the presentation attributetext-anchor
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setTextDecoration
Sets the presentation attributetext-decoration
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setTextRendering
Sets the presentation attributetext-rendering
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setTransform
Sets the transformations for this SVG element.- Parameters:
values
- The transformations.- See Also:
-
setUnicodeBidi
Sets the presentation attributeunicode-bidi
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setVectorEffect
Sets the presentation attributevector-effect
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setVisibility
Sets the presentation attributevisibility
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setWordSpacing
Sets the presentation attributeword-spacing
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-
setWritingMode
Sets the presentation attributewriting-mode
for this SVG element.- Parameters:
value
- The attribute type.- See Also:
-