java.lang.Object
org.tquadrat.foundation.xml.builder.internal.XMLElementImpl
org.tquadrat.foundation.xml.builder.spi.XMLElementAdapter
org.tquadrat.foundation.svg.internal.SVGElementImpl
org.tquadrat.foundation.svg.internal.SVGMarkerImpl
- All Implemented Interfaces:
AllowsPresentationAttributes
,SVGElement
,SVGElementWithChildren
,SVGMarker
,Element
,XMLElement
- Direct Known Subclasses:
SVGPositionedMarkerImpl
@ClassVersion(sourceVersion="$Id: SVGMarkerImpl.java 1074 2023-10-02 12:05:06Z tquadrat $")
@API(status=INTERNAL,
since="0.0.5")
public sealed class SVGMarkerImpl
extends SVGElementImpl
implements SVGMarker
permits SVGPositionedMarkerImpl
The implementation for the interface
SVGMarker
for the SVG <marker>
.- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: SVGMarkerImpl.java 1074 2023-10-02 12:05:06Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.svg.internal.SVGMarkerImpl"
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.tquadrat.foundation.xml.builder.XMLElement
XMLElement.Flags
-
Field Summary
Fields inherited from interface org.tquadrat.foundation.svg.AllowsPresentationAttributes
PRESENTATION_ATTRIBUTES
Fields inherited from interface org.tquadrat.foundation.svg.SVGElement
CORE_ATTRIBUTES
Fields inherited from interface org.tquadrat.foundation.xml.builder.XMLElement
EMPTY_XMLElement_ARRAY, NO_APPEND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
setMarkerHeight
(SVGNumber value) Sets the height of the viewport into which the<marker>
is to be fitted when it is rendered.final void
setMarkerUnits
(boolean flag) Sets the marker units attribute that defines the coordinate system for the attributes "markerWidth" and "markerHeight".final void
setMarkerWidth
(SVGNumber value) Sets the width of the viewport into which the<marker>
is to be fitted when it is rendered.final void
Sets the orientation of the marker.final void
Sets the orientation of the marker.final void
setReferenceX
(SVGNumber value) Sets the x coordinate of the marker reference point.final void
setReferenceY
(SVGNumber value) Sets the y coordinate of the marker reference point.Methods inherited from class org.tquadrat.foundation.svg.internal.SVGElementImpl
addChild, setAbortHandler, setActivationHandler, setAlignmentBaseline, setAttribute, setBaselineShift, setCancelHandler, setCanPlayHandler, setCanPlayThroughHandler, setChangeHandler, setClass, setClickHandler, setClip, setClipPath, setClipRule, setCloseHandler, setColor, setColorInterpolation, setColorInterpolationFilters, setColorProfile, setColorRendering, setCopyHandler, setCueChangeHandler, setCursor, setCutHandler, setDblClickHandler, setDescription, setDirection, setDisplay, setDominantBaseline, setDragEndHandler, setDragEnterHandler, setDragExitHandler, setDragHandler, setDragLeaveHandler, setDragOverHandler, setDragStartHandler, setDropHandler, setDurationChangeHandler, setEmptiedHandler, setEnableBackground, setEndedHandler, setErrorHandler, setExternalResourcesRequired, setFill, setFillOpacity, setFillRule, setFilter, setFloodColor, setFloodOpacity, setFocusHandler, setFocusInHandler, setFocusOutHandler, setFontFamily, setFontSize, setFontSizeAdjust, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setGlyphOrientationHorizontal, setGlyphOrientationVertical, setHeight, setId, setImageRendering, setInputHandler, setInvalidHandler, setKerning, setKeyDownHandler, setKeyPressHandler, setKeyUpHandler, setLang, setLetterSpacing, setLightingColor, setLoadedDataHandler, setLoadedMetadataHandler, setLoadHandler, setLoadStartHandler, setMarkerEnd, setMarkerMid, setMarkerStart, setMask, setMouseDownHandler, setMouseEnterHandler, setMouseLeaveHandler, setMouseMoveHandler, setMouseOutHandler, setMouseOverHandler, setMouseUpHandler, setMouseWheelHandler, setOpacity, setOverflow, setPasteHandler, setPathLength, setPauseHandler, setPlayHandler, setPlayingHandler, setPointerEvents, setPreserveAspectRatio, setPreserveSpace, setProgressHandler, setRateChangeHandler, setReference, setRequiredExtensions, setRequiredFeatures, setResetHandler, setResizeHandler, setRx, setRy, setScrollHandler, setSeekedHandler, setSeekingHandler, setSelectHandler, setShapeRendering, setShowHandler, setStalledHandler, setStopColor, setStopOpacity, setStroke, setStrokeDashArray, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin, setStrokeMiterLimit, setStrokeOpacity, setStrokeWidth, setStyle, setSubmitHandler, setSuspendHandler, setSystemLanguage, setTabIndex, setTextAnchor, setTextDecoration, setTextRendering, setTimeUpdateHandler, setTitle, setToggleHandler, setTransform, setUnicodeBidi, setUnloadHandler, setVectorEffect, setViewBox, setVisibility, setVolumeChangeHandler, setWaitHandler, setWidth, setWordSpacing, setWritingMode, setX, setXlinkActuate, setXLinkArcRole, setXLinkReference, setXLinkRole, setXLinkShow, setXLinkTitle, setXLinkType, setXMLBase, setXMLId, setXMLLang, setY, updateRegistries
Methods inherited from class org.tquadrat.foundation.xml.builder.internal.XMLElementImpl
addCDATA, addChild, addComment, addPredefinedMarkup, addText, getAttribute, getAttributes, getChildren, getElementName, getFlags, getNamespaces, getParent, getSortOrder, hasChildren, registerAttributeSequence, registerAttributeSequence, registerValidAttributes, registerValidChildren, retrieveValidAttributes, retrieveValidChildren, setAttribute, setNamespace, setNamespace, setNamespace, setNamespace, setNamespace, setParent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.tquadrat.foundation.svg.AllowsPresentationAttributes
setAlignmentBaseline, setBaselineShift, setClip, setClipPath, setClipRule, setColor, setColorInterpolation, setColorInterpolationFilters, setColorProfile, setColorRendering, setCursor, setDirection, setDisplay, setDominantBaseline, setEnableBackground, setFill, setFillOpacity, setFillRule, setFilter, setFloodColor, setFloodOpacity, setFontFamily, setFontSize, setFontSizeAdjust, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setGlyphOrientationHorizontal, setGlyphOrientationVertical, setImageRendering, setKerning, setLetterSpacing, setLightingColor, setMarkerEnd, setMarkerMid, setMarkerStart, setMask, setOpacity, setOverflow, setPointerEvents, setShapeRendering, setStopColor, setStopOpacity, setStroke, setStrokeDashArray, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin, setStrokeMiterLimit, setStrokeOpacity, setStrokeWidth, setTextAnchor, setTextDecoration, setTextRendering, setUnicodeBidi, setVectorEffect, setVisibility, setWordSpacing, setWritingMode
Methods inherited from interface org.tquadrat.foundation.xml.builder.spi.Element
getAttribute, getAttributes, getChildren, getElementName, getNamespaces, getParent, hasChildren, isBlock, toString
Methods inherited from interface org.tquadrat.foundation.svg.SVGElement
addComment, getSVGElementCategory, setId, setLang, setPreserveSpace, setTabIndex, setTitle, setXMLBase, setXMLId, setXMLLang
Methods inherited from interface org.tquadrat.foundation.svg.SVGElementWithChildren
addChild, setDescription
Methods inherited from interface org.tquadrat.foundation.svg.SVGMarker
setExternalResourcesRequired, setMarkerDimensions, setPreserveAspectRatio, setReferencePoint, setTransform, setViewBox
Methods inherited from interface org.tquadrat.foundation.xml.builder.XMLElement
addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addCDATA, addText, addText, addText, addText, addText, addText, addText, addText, addText, addText, addText, addText, addText, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeIfNotEmpty, setAttributeIfNotEmpty
-
Constructor Details
-
SVGMarkerImpl
public SVGMarkerImpl()Creates a newSVGMarkerImpl
instance.
-
-
Method Details
-
setMarkerHeight
Sets the height of the viewport into which the<marker>
is to be fitted when it is rendered.- Specified by:
setMarkerHeight
in interfaceSVGMarker
- Parameters:
value
- The height.- See Also:
-
setMarkerUnits
Sets the marker units attribute that defines the coordinate system for the attributes "markerWidth" and "markerHeight".- Specified by:
setMarkerUnits
in interfaceSVGMarker
- Parameters:
flag
-true
if the user space should be used,false
for the stroke width.
-
setMarkerWidth
Sets the width of the viewport into which the<marker>
is to be fitted when it is rendered.- Specified by:
setMarkerWidth
in interfaceSVGMarker
- Parameters:
value
- The width.- See Also:
-
setOrientation
Sets the orientation of the marker. Basically, this means how it is rotated when it is placed at its position on the markable element.- Specified by:
setOrientation
in interfaceSVGMarker
- Parameters:
value
- The orientation.
-
setOrientation
Sets the orientation of the marker. Basically, this means how it is rotated when it is placed at its position on the markable element.- Specified by:
setOrientation
in interfaceSVGMarker
- Parameters:
value
- The orientation.
-
setReferenceX
Sets the x coordinate of the marker reference point.- Specified by:
setReferenceX
in interfaceSVGMarker
- Parameters:
value
- The coordinate type.- See Also:
-
setReferenceY
Sets the y coordinate of the marker reference point.- Specified by:
setReferenceY
in interfaceSVGMarker
- Parameters:
value
- The coordinate type.- See Also:
-