Class SvgDrawing

java.lang.Object
org.jhotdraw8.fxbase.styleable.AbstractStyleablePropertyBean
All Implemented Interfaces:
DefaultableFigure, Drawing, Figure, LockableFigure, NonTransformableFigure, StyleableFigure, TransformCachingFigure, org.jhotdraw8.fxbase.beans.PropertyBean, org.jhotdraw8.fxbase.styleable.StyleableBean, org.jhotdraw8.fxbase.styleable.StyleablePropertyBean, org.jhotdraw8.fxbase.tree.TreeNode<Figure>, SvgDefaultableFigure, SvgElementFigure

Represents an SVG 'svg' element.
  • Field Details

    • SVG_VIEW_BOX

      public static final org.jhotdraw8.fxcollection.typesafekey.Key<CssRectangle2D> SVG_VIEW_BOX
    • BASE_PROFILE

      public static final org.jhotdraw8.fxcollection.typesafekey.Key<String> BASE_PROFILE
    • VERSION

      public static final org.jhotdraw8.fxcollection.typesafekey.Key<String> VERSION
  • Constructor Details

    • SvgDrawing

      public SvgDrawing()
  • Method Details

    • isSuitableChild

      public boolean isSuitableChild(Figure newChild)
      Specified by:
      isSuitableChild in interface Figure
      Specified by:
      isSuitableChild in interface org.jhotdraw8.fxbase.tree.TreeNode<Figure>
    • updateNode

      public void updateNode(RenderContext ctx, javafx.scene.Node n)
      Specified by:
      updateNode in interface Figure
      Overrides:
      updateNode in class AbstractDrawing
    • getTypeSelector

      public String getTypeSelector()
      Specified by:
      getTypeSelector in interface Drawing
      Specified by:
      getTypeSelector in interface org.jhotdraw8.fxbase.styleable.StyleableBean