public class ShapeConverter extends AbstractConverter implements DefaultStrokeValues
allProperties, cssProperties, delegate, properties, xmlParentDEFAULT_STROKE_DASH_OFFSET, DEFAULT_STROKE_LINE_CAP, DEFAULT_STROKE_LINE_JOIN, DEFAULT_STROKE_MITER_LIMIT, DEFAULT_STROKE_WIDTHARC_HEIGHT, ARC_WIDTH, BACKGROUND_COLOR, BACKGROUND_IMAGE, BACKGROUND_RADIUS, BORDER_COLOR, BORDER_RADIUS, FILL_PAINT, FONT, FONT_FAMILY, FONT_SIZE, FONT_STYLE, FONT_WEIGHT, IMAGE, OPACITY, REGION_BACKGROUND, REGION_BACKGROUND_POSITION, REGION_BACKGROUND_RADIUS, REGION_BACKGROUND_SIZE, REGION_BORDER, SCALE_SHAPE, SCALE_X, SCALE_Y, SHAPE, STROKE_DASHARRAY, STROKE_DASHOFFSET, STROKE_LINECAP, STROKE_LINEJOIN, STROKE_MITERLIMIT, STROKE_PAINT, STROKE_TYPE, STROKE_WIDTH, TEXT_BOUNDS_TYPE, TEXT_FILL, TRANSLATE_X, TRANSLATE_Y, VISIBILITY| Constructor and Description | 
|---|
| ShapeConverter(ConverterDelegate delegate,
              javafx.scene.shape.Shape shape,
              XMLNode xmlParent) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | applyStyle(XMLNode node,
          java.lang.String clipID)Apply the node style. | 
| XMLNode | convert()Convert the Shape. | 
| protected double | getOpacityFill()Return the opacity of the Node Fill. | 
| protected double | getOpacityStroke()Return the opacity of the Node Stroke. | 
addFill, addStroke, applyTransforms, getAdditionalNode, getAllProperties, getCSSProperties, getOpacity, getParent, getProperties, getTransformFromAncestor, hasVisibility, isVisible, setClip, setFillOpacity, setStrokeOpacitypublic ShapeConverter(ConverterDelegate delegate, javafx.scene.shape.Shape shape, XMLNode xmlParent)
protected double getOpacityFill()
protected double getOpacityStroke()
public void applyStyle(XMLNode node, java.lang.String clipID)
NodeConverterapplyStyle in interface NodeConverternode - the nodeclipID - the clip ID (may be null)public XMLNode convert()
convert in interface NodeConverterCopyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence