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 TypeMethodDescriptionvoidSets the presentation attributealignment-baselinefor this SVG element.voidsetBaselineShift(String value) Sets the presentation attributebaseline-shiftfor this SVG element.voidSets the presentation attributeclipfor this SVG element.voidsetClipPath(URI value) Sets theclip-pathattribute for this SVG element.voidsetClipRule(String value) Sets the presentation attributeclip-rulefor this SVG element.voidSets the colour for this SVG element.voidsetColorInterpolation(String value) Sets the presentation attributecolor-interpolationfor this SVG element.voidSets the presentation attributecolor-interpolation-filtersfor this SVG element.voidsetColorProfile(String value) Sets the presentation attributecolor-profilefor this SVG element.voidsetColorRendering(String value) Sets the presentation attributecolor-renderingfor this SVG element.voidSets the presentation attributecursorfor this SVG element.voidsetDirection(String value) Sets the presentation attributedirectionfor this SVG element.voidsetDisplay(String value) Sets the presentation attributedisplayfor this SVG element.voidsetDominantBaseline(String value) Sets the presentation attributedominant-baselinefor this SVG element.voidsetEnableBackground(String value) Sets the presentation attributeenable-backgroundfor this SVG element.voidSets the presentation attributefillfor this SVG element.voidsetFillOpacity(String value) Sets the presentation attributefill-opacityfor this SVG element.voidsetFillRule(String value) Sets the presentation attributefill-rulefor this SVG element.voidSets the presentation attributefilterfor this SVG element.voidsetFloodColor(String value) Sets the presentation attributeflood-colorfor this SVG element.voidsetFloodOpacity(String value) Sets the presentation attributeflood-opacityfor this SVG element.voidsetFontFamily(String value) Sets the presentation attributefont-familyfor this SVG element.voidsetFontSize(String value) Sets the presentation attributefont-sizefor this SVG element.voidsetFontSizeAdjust(String value) Sets the presentation attributefont-size-adjustfor this SVG element.voidsetFontStretch(String value) Sets the presentation attributefont-stretchfor this SVG element.voidsetFontStyle(String value) Sets the presentation attributefont-stylefor this SVG element.voidsetFontVariant(String value) Sets the presentation attributefont-variantfor this SVG element.voidsetFontWeight(String value) Sets the presentation attributefont-weightfor this SVG element.voidSets the presentation attributeglyph-orientation-horizontalfor this SVG element.voidSets the presentation attributeglyph-orientation-verticalfor this SVG element.voidsetImageRendering(String value) Sets the presentation attributeimage-renderingfor this SVG element.voidsetKerning(String value) Sets the presentation attributekerningfor this SVG element.voidsetLetterSpacing(String value) Sets the presentation attributeletter-spacingfor this SVG element.voidsetLightingColor(String value) Sets the presentation attributelighting-colorfor this SVG element.voidsetMarkerEnd(URI value) Sets themarker-endattribute for this SVG element.voidsetMarkerMid(URI value) Sets themarker-midattribute for this SVG element.voidsetMarkerStart(URI value) Sets themarker-startattribute for this SVG element.voidSets the presentation attributemaskfor this SVG element.voidsetOpacity(String value) Sets the presentation attributeopacityfor this SVG element.voidsetOverflow(String value) Sets the presentation attributeoverflowfor this SVG element.voidsetPointerEvents(String value) Sets the presentation attributepointer-eventsfor this SVG element.voidsetShapeRendering(String value) Sets the presentation attributeshape-renderingfor this SVG element.voidsetStopColor(String value) Sets the presentation attributestop-colorfor this SVG element.voidsetStopOpacity(String value) Sets the presentation attributestop-opacityfor this SVG element.voidSets the presentation attributestrokefor this SVG element.voidsetStrokeDashArray(String value) Sets the presentation attributestroke-dasharrayfor this SVG element.voidsetStrokeDashOffset(String value) Sets the presentation attributestroke-dashoffsetfor this SVG element.voidsetStrokeLineCap(String value) Sets the presentation attributestroke-linecapfor this SVG element.voidsetStrokeLineJoin(String value) Sets the presentation attributestroke-linejoinfor this SVG element.voidsetStrokeMiterLimit(String value) Sets the presentation attributestroke-miterlimitfor this SVG element.voidsetStrokeOpacity(double value) Sets the presentation attributestroke-opacityfor this SVG element.
Any type outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range.voidsetStrokeWidth(SVGNumber value) Sets the presentation attributestroke-widthfor this SVG element.voidsetTextAnchor(String value) Sets the presentation attributetext-anchorfor this SVG element.voidsetTextDecoration(String value) Sets the presentation attributetext-decorationfor this SVG element.voidsetTextRendering(String value) Sets the presentation attributetext-renderingfor this SVG element.voidsetTransform(SVGTransform... values) Sets the transformations for this SVG element.voidsetUnicodeBidi(String value) Sets the presentation attributeunicode-bidifor this SVG element.voidsetVectorEffect(String value) Sets the presentation attributevector-effectfor this SVG element.voidsetVisibility(String value) Sets the presentation attributevisibilityfor this SVG element.voidsetWordSpacing(String value) Sets the presentation attributeword-spacingfor this SVG element.voidsetWritingMode(String value) Sets the presentation attributewriting-modefor this SVG element.
-
Field Details
-
PRESENTATION_ATTRIBUTES
The presentation attributes.
-
-
Method Details
-
setAlignmentBaseline
Sets the presentation attributealignment-baselinefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setBaselineShift
Sets the presentation attributebaseline-shiftfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setClip
Sets the presentation attributeclipfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setClipPath
Sets theclip-pathattribute for this SVG element.- Parameters:
value- The URI for the clip path.- See Also:
-
setClipRule
Sets the presentation attributeclip-rulefor 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-interpolationfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setColorInterpolationFilters
Sets the presentation attributecolor-interpolation-filtersfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setColorProfile
Sets the presentation attributecolor-profilefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setColorRendering
Sets the presentation attributecolor-renderingfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setCursor
Sets the presentation attributecursorfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setDirection
Sets the presentation attributedirectionfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setDisplay
Sets the presentation attributedisplayfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setDominantBaseline
Sets the presentation attributedominant-baselinefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setEnableBackground
Sets the presentation attributeenable-backgroundfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFill
Sets the presentation attributefillfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFillOpacity
Sets the presentation attributefill-opacityfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFillRule
Sets the presentation attributefill-rulefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFilter
Sets the presentation attributefilterfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFloodColor
Sets the presentation attributeflood-colorfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFloodOpacity
Sets the presentation attributeflood-opacityfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontFamily
Sets the presentation attributefont-familyfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontSize
Sets the presentation attributefont-sizefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontSizeAdjust
Sets the presentation attributefont-size-adjustfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontStretch
Sets the presentation attributefont-stretchfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontStyle
Sets the presentation attributefont-stylefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontVariant
Sets the presentation attributefont-variantfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setFontWeight
Sets the presentation attributefont-weightfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setGlyphOrientationHorizontal
Sets the presentation attributeglyph-orientation-horizontalfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setGlyphOrientationVertical
Sets the presentation attributeglyph-orientation-verticalfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setImageRendering
Sets the presentation attributeimage-renderingfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setKerning
Sets the presentation attributekerningfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setLetterSpacing
Sets the presentation attributeletter-spacingfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setLightingColor
Sets the presentation attributelighting-colorfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setMarkerEnd
Sets themarker-endattribute for this SVG element.- Parameters:
value- The URI for the marker.- See Also:
-
setMarkerMid
Sets themarker-midattribute for this SVG element.- Parameters:
value- The URI for the marker.- See Also:
-
setMarkerStart
Sets themarker-startattribute for this SVG element.- Parameters:
value- The URI for the marker.- See Also:
-
setMask
Sets the presentation attributemaskfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setOpacity
Sets the presentation attributeopacityfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setOverflow
Sets the presentation attributeoverflowfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setPointerEvents
Sets the presentation attributepointer-eventsfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setShapeRendering
Sets the presentation attributeshape-renderingfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStopColor
Sets the presentation attributestop-colorfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStopOpacity
Sets the presentation attributestop-opacityfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStroke
Sets the presentation attributestrokefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeDashArray
Sets the presentation attributestroke-dasharrayfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeDashOffset
Sets the presentation attributestroke-dashoffsetfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeLineCap
Sets the presentation attributestroke-linecapfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeLineJoin
Sets the presentation attributestroke-linejoinfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeMiterLimit
Sets the presentation attributestroke-miterlimitfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setStrokeOpacity
Sets the presentation attributestroke-opacityfor 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-widthfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setTextAnchor
Sets the presentation attributetext-anchorfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setTextDecoration
Sets the presentation attributetext-decorationfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setTextRendering
Sets the presentation attributetext-renderingfor 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-bidifor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setVectorEffect
Sets the presentation attributevector-effectfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setVisibility
Sets the presentation attributevisibilityfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setWordSpacing
Sets the presentation attributeword-spacingfor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
setWritingMode
Sets the presentation attributewriting-modefor this SVG element.- Parameters:
value- The attribute type.- See Also:
-
