Class HtmlSVGPathPeer<N extends SVGPath,NB extends SVGPathPeerBase<N,NB,NM>,NM extends SVGPathPeerMixin<N,NB,NM>>
java.lang.Object
dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer<elemental2.dom.HTMLElement,N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer<N,NB,NM>
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGPathPeer<N,NB,NM>
- All Implemented Interfaces:
NodePeerMixin<N,
,NB, NM> ShapePeerMixin<N,
,NB, NM> SVGPathPeerMixin<N,
,NB, NM> LayoutMeasurable
,HtmlLayoutMeasurable
,HtmlLayoutMeasurableNoGrow
,HtmlLayoutMeasurableNoHGrow
,HtmlLayoutMeasurableNoVGrow
,NodePeer<N>
public final class HtmlSVGPathPeer<N extends SVGPath,NB extends SVGPathPeerBase<N,NB,NM>,NM extends SVGPathPeerMixin<N,NB,NM>>
extends HtmlSVGShapePeer<N,NB,NM>
implements SVGPathPeerMixin<N,NB,NM>, HtmlLayoutMeasurableNoGrow
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer
bBox, height, svgElement, width, x, y
Fields inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
clip, clipNodes, clipPath, containerType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCache()
double
sizeAndMeasure
(double value, boolean width) void
updateContent
(String content) void
updateFillRule
(FillRule fillRule) void
updateSmooth
(Boolean smooth) protected void
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlSVGShapePeer
bind, getBBox, updateAllNodeTransforms, updateEffect, updateFill, updateStroke, updateStrokeDashArray, updateStrokeDashOffset, updateStrokeLineCap, updateStrokeLineJoin, updateStrokeMiterLimit, updateStrokeType, updateStrokeWidth
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.HtmlNodePeer
fromPx, getEffectElement, toCssTextAlignment, toCssTextAlignment, toFilter, toPx
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.shared.HtmlSvgNodePeer
applyClipPath, applyClipPathToClipNodes, clearLayoutCache, computeClipPath, getChildrenContainer, getContainer, getElement, getHtmlFocusableElement, getJavaFxFocusableNode, getPeerFromElement, getPeerFromElementOrParents, getStyleAttribute, getVisibleContainer, installTouchListeners, isClip, isJavaFxFocusOwner, isTreeVisible, makeContainerInvisible, passHtmlTouchEventOnToFx, passOnToFx, requestFocus, setChildrenContainer, setContainer, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementAttribute, setElementStyleAttribute, setElementTextContent, setFontAttributes, setFontAttributes, setJavaFxFocusOwner, setJavaFxFocusOwner, storePeerInElement, toContainerElement, toCssCursor, toNodePeer, updateBlendMode, updateClip, updateCursor, updateDisabled, updateId, updateLayoutX, updateLayoutY, updateMouseTransparent, updateOnDragDetected, updateOnDragDone, updateOnDragDropped, updateOnDragEntered, updateOnDragExited, updateOnDragOver, updateOpacity, updateRotate, updateScaleX, updateScaleY, updateStyleClass, updateTransforms, updateTranslateX, updateTranslateY, updateVisible
Methods inherited from class dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerImpl
getNode, getNodePeerBase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurable
clearCache, getElement, getLayoutBounds, measure, measureHeight, measureWidth, prefHeight, prefWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurableNoHGrow
maxWidth, minWidth
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.html.layoutmeasurable.HtmlLayoutMeasurableNoVGrow
maxHeight, minHeight
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.base.NodePeerMixin
bind, getNode, getNodePeerBase, isTreeVisible, requestFocus, snapshot, unbind, updateAllNodeTransforms, updateBlendMode, updateClip, updateCursor, updateDisabled, updateEffect, updateId, updateLayoutX, updateLayoutY, updateList, updateMouseTransparent, updateOnDragDetected, updateOnDragDone, updateOnDragDropped, updateOnDragEntered, updateOnDragExited, updateOnDragOver, updateOpacity, updateProperty, updateRotate, updateScaleX, updateScaleY, updateStyleClass, updateTransforms, updateTranslateX, updateTranslateY, updateVisible
Methods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.base.ShapePeerMixin
updateFill, updateSmooth, updateStroke, updateStrokeDashArray, updateStrokeDashOffset, updateStrokeLineCap, updateStrokeLineJoin, updateStrokeMiterLimit, updateStrokeType, updateStrokeWidth
-
Constructor Details
-
HtmlSVGPathPeer
public HtmlSVGPathPeer() -
HtmlSVGPathPeer
-
-
Method Details
-
updateFillRule
- Specified by:
updateFillRule
in interfaceSVGPathPeerMixin<N extends SVGPath,
NB extends SVGPathPeerBase<N, NB, NM>, NM extends SVGPathPeerMixin<N, NB, NM>>
-
updateContent
- Specified by:
updateContent
in interfaceSVGPathPeerMixin<N extends SVGPath,
NB extends SVGPathPeerBase<N, NB, NM>, NM extends SVGPathPeerMixin<N, NB, NM>>
-
getCache
- Specified by:
getCache
in interfaceHtmlLayoutMeasurable
-
measureLayoutBounds
- Specified by:
measureLayoutBounds
in interfaceHtmlLayoutMeasurable
-
sizeAndMeasure
public double sizeAndMeasure(double value, boolean width) - Specified by:
sizeAndMeasure
in interfaceHtmlLayoutMeasurable
-
updateSmooth
- Specified by:
updateSmooth
in interfaceShapePeerMixin<N extends Shape,
NB extends ShapePeerBase<N, NB, NM>, NM extends ShapePeerMixin<N, NB, NM>>
-
updateStroke
protected void updateStroke()
-