ADDITIVE, ANIMATE, ANIMATE_MOTION, ANIMATE_TRANSFORM, ATTRIBUTE_NAME, AZIMUTH, BASELINE_SHIFT, BASELINE_SUB, BASELINE_SUPER, BEGIN, BEVEL, BOLD, BOLDER, BUTT, CIRCLE, CLASS, CLIP_PATH, CLIP_PATH_SPEC, CLIP_PATH_UNITS, CLIP_RULE, CONTEXT_FILL, CONTEXT_STROKE, CX, CY, D, DEFS, DIFFUSE_CONSTANT, DILATE, DUR, DX, DY, ELEVATION, ELLIPSE, END, EVEN_ODD, FE_COMPOSITE, FE_DIFFUSE_LIGHTING, FE_DISTANT_LIGHT, FE_DROP_SHADOW, FE_FLOOD, FE_GAUSSIAN_BLUR, FE_IMAGE, FE_MERGE, FE_MERGE_NODE, FE_MORPHOLOGY, FE_OFFSET, FE_POINT_LIGHT, FE_SPECULAR_LIGHTING, FE_SPOT_LIGHT, FILL, FILL_OPACITY, FILL_RULE, FILTER, FLOOD_COLOR, FLOOD_OPACITY, FONT_FAMILY, FONT_SIZE, FONT_STYLE, FONT_WEIGHT, FROM, FX, FY, G, GRADIENT_TRANSFORM, GRADIENT_UNITS, HEIGHT, HIDDEN, HREF, ID, IMAGE, IN, IN2, INDEFINITE, ITALIC, LIGHTER, LIGHTING_COLOR, LINE, LINE_THROUGH, LINEAR_GRADIENT, MARKER, MARKER_END, MARKER_HEIGHT, MARKER_MID, MARKER_START, MARKER_WIDTH, MIDDLE, MITER, NON_ZERO, NONE, NORMAL, OBJECT_BOUNDINGBOX, OBLIQUE, OFFSET, OPACITY, OPERATOR, OPERATOR_ARITHMETIC, OPERATOR_ATOP, OPERATOR_IN, OPERATOR_OUT, OPERATOR_OVER, OPERATOR_XOR, PATH, POINT_AT_X, POINT_AT_Y, POINT_AT_Z, POINTS, POLYGON, POLYLINE, PRESERVE_ASPECT_RATIO, R, RADIAL_GRADIENT, RADIUS, RECT, REFX, REFY, REPEAT_COUNT, RESULT, ROTATE, ROUND, RX, RY, SCALE, SET, SKEW_X, SKEW_Y, SOURCE_ALPHA, SOURCE_GRAPHIC, SPECULAR_CONSTANT, SPECULAR_EXPONENT, SPREAD_METHOD, SPREAD_PAD, SPREAD_REFLECT, SPREAD_REPEAT, SQUARE, START, STD_DEVIATION, STOP, STOP_COLOR, STOP_OPACITY, STROKE, STROKE_DASHARRAY, STROKE_DASHOFFSET, STROKE_LINECAP, STROKE_LINEJOIN, STROKE_MITERLIMIT, STROKE_WIDTH, STYLE, SURFACE_SCALE, SVG, SYMBOL, TEXT, TEXT_ANCHOR, TEXT_DECORATION, TO, TRANSFORM, TRANSLATE, TSPAN, TYPE, UNDERLINE, USE, USERSPACE_ON_USE, VALUES, VIEWBOX, VISIBILITY, VISIBLE, WIDTH, X, X1, X2, XLINK_HREF, Y, Y1, Y2, Z
Modifier and Type | Method and Description |
---|---|
static List<javafx.scene.Node> |
createNodeList(javafx.scene.Node node) |
static javafx.scene.effect.Effect |
expressFilter(Map<String,FilterSpec> filterSpecs,
javafx.scene.Node node,
String value)
Apply the appropriate filter on a node.
|
static javafx.scene.paint.Paint |
expressPaint(Map<String,javafx.scene.paint.Paint> gradients,
String value) |
static javafx.scene.paint.Paint |
expressPaint(javafx.scene.Node contextNode,
Map<String,javafx.scene.paint.Paint> gradients,
String value) |
static javafx.scene.shape.FillRule |
getClipRule(XMLNode node) |
static javafx.scene.paint.Color |
getColor(String value)
Return the color with a specified String value.
|
static javafx.scene.paint.Color |
getColor(String value,
double opacity) |
static javafx.scene.shape.FillRule |
getFillRule(XMLNode node) |
static javafx.scene.image.Image |
getImage(URL url,
String href,
double width,
double height) |
static boolean |
getPreserveAspectRatio(String value)
Return true if the aspect ratio is preserved.
|
static Map<String,String> |
getStyles(XMLNode node) |
static String |
getURL(String value)
Return the color with a specified String value.
|
static boolean |
hasXPosition(XMLNode node) |
static boolean |
isPercent(XMLNode xmlNode,
String attrname) |
static String |
mergeStyles(Map<String,String> styles,
XMLNode node) |
static List<Double> |
parseDashArray(String value,
Viewport viewport) |
static double |
parseDoubleProtected(String valueS) |
static String |
parseFirstArgument(String value) |
static double |
parseFontSize(String valueS) |
static int |
parseIntProtected(String valueS) |
static void |
parseLengthValue(List<Double> args,
String value,
boolean isWidth,
javafx.geometry.Bounds bounds,
Viewport viewport) |
static double |
parseLengthValue(String valueS,
boolean isWidth,
javafx.geometry.Bounds bounds,
Viewport viewport)
Parse a length value.
|
static double |
parseLineWidth(String value,
Viewport viewport) |
static Viewbox |
parseMarkerViewbox(XMLNode xmlNode,
Viewport viewport) |
static double |
parseOpacity(String value) |
static double |
parsePositionValue(String valueS,
boolean isWidth,
javafx.geometry.Bounds bounds,
Viewport viewport)
Parse a position value.
|
static Viewbox |
parseViewbox(XMLNode xmlNode,
Viewport viewport) |
static Viewport |
parseViewport(XMLNode xmlNode) |
static boolean |
parseVisibility(String value) |
static void |
propagateStyleAttributes(XMLNode parentNode,
XMLNode childNode) |
static void |
setBaselineShift(javafx.scene.text.Text text,
String value) |
static void |
setFillOpacity(javafx.scene.Node node,
double fillOpacity) |
static void |
setOpacity(javafx.scene.Node node,
XMLNode xmlNode) |
static boolean |
setVisibility(javafx.scene.Node node,
XMLNode xmlNode) |
public static javafx.scene.paint.Color getColor(String value)
value
- the color valuepublic static javafx.scene.image.Image getImage(URL url, String href, double width, double height)
public static String getURL(String value)
value
- the color valuepublic static javafx.scene.paint.Paint expressPaint(javafx.scene.Node contextNode, Map<String,javafx.scene.paint.Paint> gradients, String value)
public static javafx.scene.paint.Paint expressPaint(Map<String,javafx.scene.paint.Paint> gradients, String value)
public static javafx.scene.shape.FillRule getClipRule(XMLNode node)
public static javafx.scene.shape.FillRule getFillRule(XMLNode node)
public static javafx.scene.paint.Color getColor(String value, double opacity)
public static boolean parseVisibility(String value)
public static double parseOpacity(String value)
public static void setFillOpacity(javafx.scene.Node node, double fillOpacity)
public static int parseIntProtected(String valueS)
public static double parseDoubleProtected(String valueS)
public static double parseFontSize(String valueS)
public static double parsePositionValue(String valueS, boolean isWidth, javafx.geometry.Bounds bounds, Viewport viewport)
valueS
- thre value as a stringisWidth
- true if the position represents a widthbounds
- the optional bounds of the figure for which it is relative toviewport
- the viewportpublic static double parseLengthValue(String valueS, boolean isWidth, javafx.geometry.Bounds bounds, Viewport viewport)
valueS
- thre value as a stringisWidth
- true if the distance represents a widthbounds
- the optional bounds of the figure for which it is relative toviewport
- the viewportpublic static void parseLengthValue(List<Double> args, String value, boolean isWidth, javafx.geometry.Bounds bounds, Viewport viewport)
public static javafx.scene.effect.Effect expressFilter(Map<String,FilterSpec> filterSpecs, javafx.scene.Node node, String value)
filterSpecs
- the filters specificationsnode
- the nodevalue
- the filter valuepublic static void setBaselineShift(javafx.scene.text.Text text, String value)
public static boolean hasXPosition(XMLNode node)
public static void propagateStyleAttributes(XMLNode parentNode, XMLNode childNode)
public static boolean setVisibility(javafx.scene.Node node, XMLNode xmlNode)
public static void setOpacity(javafx.scene.Node node, XMLNode xmlNode)
public static boolean getPreserveAspectRatio(String value)
value
- the attribute valuepublic static List<javafx.scene.Node> createNodeList(javafx.scene.Node node)
Copyright © 2023. All rights reserved.