public class RegionConverter extends AbstractConverter
Modifier and Type | Field and Description |
---|---|
protected javafx.scene.layout.Region |
region |
allProperties, cssProperties, delegate, properties, xmlParent
ARC_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 |
---|
RegionConverter(ConverterDelegate delegate,
javafx.scene.layout.Region region,
XMLNode xmlParent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
applyStyle(XMLNode node,
java.lang.String clipID)
Apply the node style.
|
XMLNode |
convert()
Convert the Region.
|
javafx.scene.Parent |
getParent()
Return the converter Region Node.
|
addFill, addStroke, applyTransforms, getAdditionalNode, getAllProperties, getCSSProperties, getOpacity, getProperties, getTransformFromAncestor, hasVisibility, isVisible, setClip, setFillOpacity, setStrokeOpacity
public RegionConverter(ConverterDelegate delegate, javafx.scene.layout.Region region, XMLNode xmlParent)
delegate
- the ConverterDelegateregion
- the RegionxmlParent
- the parent nodepublic javafx.scene.Parent getParent()
getParent
in class AbstractConverter
public void applyStyle(XMLNode node, java.lang.String clipID)
NodeConverter
node
- the nodeclipID
- the clip ID (may be null)public XMLNode convert()
Copyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence