Package com.itextpdf.svg
Class SvgConstants.Attributes
- java.lang.Object
-
- com.itextpdf.styledxmlparser.CommonAttributeConstants
-
- com.itextpdf.svg.SvgConstants.Attributes
-
- Enclosing class:
- SvgConstants
public static final class SvgConstants.Attributes extends CommonAttributeConstants
Class containing the constant property names for the attributes of tags in the SVG spec
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BOLD
The Constant BOLD.static java.lang.String
CLIP_PATH
Attribute defining the clipping path to be applied to a specific shape or group of shapes.static java.lang.String
CLIP_RULE
Attribute defining the clipping rule in a clipping path (or element thereof).static java.lang.String
CX
Attribute defining the x value of the center of a circle or ellipse.static java.lang.String
CY
Attribute defining the y value of the center of a circle or ellipse.static java.lang.String
D
Attribute defining the outline of a shape.static java.lang.String
DIRECTION
Attribute defining the direction used by the textstatic java.lang.String
DX
Attribute defining the relative x-translation of a text-elementstatic java.lang.String
DY
Attribute defining the relative y-translation of a text-elementstatic java.lang.String
FILL
Attribute defining the fill color.static java.lang.String
FILL_OPACITY
Attribute defining the fill opacity.static java.lang.String
FILL_RULE
Attribute defining the fill rule.static java.lang.String
FONT_FAMILY
Attribute defining the font family.static java.lang.String
FONT_SIZE
Attribute defining the font size.static java.lang.String
FONT_STYLE
Attribute defining the font style.static java.lang.String
FONT_WEIGHT
Attribute defining the font weight.static java.lang.String
GRADIENT_TRANSFORM
Attribute defining the transformations for a color gradient.static java.lang.String
GRADIENT_UNITS
Attribute defining the units relation for a color gradient.static java.lang.String
HEIGHT
Attribute defining the height.static java.lang.String
HREF
Attribute defining the href value.static java.lang.String
ID
Attribute defining the unique id of an element.static java.lang.String
ITALIC
The Constant ITALIC.static java.lang.String
MARKER
Attribute defining shorthand for marker-start/marker-mid/marker-endstatic java.lang.String
MARKER_END
Attribute defining the marker to use at the end of a path, line, polygon or polylinestatic java.lang.String
MARKER_HEIGHT
Attribute defining the height of the viewport in which the marker is to be fittedstatic java.lang.String
MARKER_MID
Attribute defining the marker drawn at every other vertex but the start and end of a path, line, polygon or polylinestatic java.lang.String
MARKER_START
Attribute defining the marker to use at the start of a path, line, polygon or polylinestatic java.lang.String
MARKER_UNITS
Attribute defining the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’.static java.lang.String
MARKER_WIDTH
Attribute defining the width of the viewport in which the marker is to be fittedstatic java.lang.String
OFFSET
Attribute defining the offset of a stop color for gradients.static java.lang.String
OPACITY
Attribute defining the opacity of a group or graphic element.static java.lang.String
ORIENT
Attribute defining the orientation of a markerstatic java.lang.String
PATH_DATA_BEARING
Bearing command.static java.lang.String
PATH_DATA_CATMULL_CURVE
Catmull-Rom curve command.static java.lang.String
PATH_DATA_CLOSE_PATH
Close Path Operator.static java.lang.String
PATH_DATA_CURVE_TO
CurveTo Path Operator.static java.lang.String
PATH_DATA_CURVE_TO_S
Smooth CurveTo Path Operator.static java.lang.String
PATH_DATA_ELLIPTICAL_ARC_A
Attribute defining Elliptical arc path operator.static java.lang.String
PATH_DATA_LINE_TO
Absolute LineTo Path Operator.static java.lang.String
PATH_DATA_LINE_TO_H
Absolute hrizontal LineTo Path Operator.static java.lang.String
PATH_DATA_LINE_TO_V
Absolute vertical LineTo Path operator.static java.lang.String
PATH_DATA_MOVE_TO
MoveTo Path Operator.static java.lang.String
PATH_DATA_QUAD_CURVE_TO
Quadratic CurveTo Path Operator.static java.lang.String
PATH_DATA_REL_BEARING
Relative Bearing command.static java.lang.String
PATH_DATA_REL_CATMULL_CURVE
Relative Catmull-Rom curve command.static java.lang.String
PATH_DATA_REL_CURVE_TO
Relative CurveTo Path Operator.static java.lang.String
PATH_DATA_REL_CURVE_TO_S
Relative Smooth CurveTo Path Operator.static java.lang.String
PATH_DATA_REL_ELLIPTICAL_ARC_A
Attribute defining Elliptical arc path operator.static java.lang.String
PATH_DATA_REL_LINE_TO
Relative LineTo Path Operator.static java.lang.String
PATH_DATA_REL_LINE_TO_H
Relative horizontal LineTo Path Operator.static java.lang.String
PATH_DATA_REL_LINE_TO_V
Relative vertical LineTo Path operator.static java.lang.String
PATH_DATA_REL_MOVE_TO
Relative MoveTo Path Operator.static java.lang.String
PATH_DATA_REL_QUAD_CURVE_TO
Relative Quadratic CurveTo Path Operator.static java.lang.String
PATH_DATA_REL_SHORTHAND_CURVE_TO
Relative Shorthand/smooth quadratic Bézier curveto.static java.lang.String
PATH_DATA_SHORTHAND_CURVE_TO
Shorthand/smooth quadratic Bézier curveto.static java.lang.String
PATTERN_CONTENT_UNITS
Attribute defining the coordinate system for the pattern content.static java.lang.String
PATTERN_TRANSFORM
Attribute defining list of transform definitions for the pattern element.static java.lang.String
PATTERN_UNITS
Attribute defining the coordinate system for attributes x, y, width , and height in pattern.static java.lang.String
POINTS
Attribute defining the points of a polyline or polygon.static java.lang.String
PRESERVE_ASPECT_RATIO
Attribute defining how to preserve the aspect ratio when scaling.static java.lang.String
R
Attribute defining the radius of a circle.static java.lang.String
REFX
Attribute defining the x-axis coordinate of the reference point which is to be aligned exactly at the marker position.static java.lang.String
REFY
Attribute defining the y-axis coordinate of the reference point which is to be aligned exactly at the marker position.static java.lang.String
RX
Attribute defining the x-axis of an ellipse or the x-axis radius of rounded rectangles.static java.lang.String
RY
Attribute defining the y-axis of an ellipse or the y-axis radius of rounded rectangles.static java.lang.String
SPREAD_METHOD
Attribute defining the spread method for a color gradient.static java.lang.String
STROKE
Attribute defining the stroke color.static java.lang.String
STROKE_DASHARRAY
Attribute defining the stroke dash offset.static java.lang.String
STROKE_DASHOFFSET
Attribute defining the stroke dash offset.static java.lang.String
STROKE_LINECAP
Attribute defining the stroke linecap.static java.lang.String
STROKE_LINEJOIN
Attribute defining the stroke linejoin.static java.lang.String
STROKE_MITERLIMIT
Attribute defining the stroke miterlimit.static java.lang.String
STROKE_OPACITY
Attribute defingin the stroke opacity.static java.lang.String
STROKE_WIDTH
Attribute defining the stroke width.static java.lang.String
STYLE
Attribute defining the style of an element.static java.lang.String
TEXT_ANCHOR
Attribute defining the text anchor used by the textstatic java.lang.String
TEXT_CONTENT
Attribute defining the text content of a text node.static java.lang.String
TRANSFORM
Attribute defining a transformation that needs to be applied.static java.lang.String
VECTOR_EFFECT
Attribute defining vector-effect.static java.lang.String
VERSION
Attribute defining version.static java.lang.String
VIEWBOX
Attribute defining the viewbox of an element.static java.lang.String
WIDTH
Attribute defining the width of an element.static java.lang.String
X
Attribute defining the x value of an element.static java.lang.String
X1
Attribute defining the first x coordinate value of a line.static java.lang.String
X2
Attribute defining the second x coordinate value of a line.static java.lang.String
XLINK_HREF
Attribute defining image source.static java.lang.String
XML_SPACE
Attribute defining the property that sets how white space inside an element is handled.static java.lang.String
XMLNS
Attribute defining XML namespacestatic java.lang.String
Y
Attribute defining the y value of an element.static java.lang.String
Y1
Attribute defining the first y coordinate value of a line.static java.lang.String
Y2
Attribute defining the second y coordinate value of a line.-
Fields inherited from class com.itextpdf.styledxmlparser.CommonAttributeConstants
CLASS, DISABLED, LANG, REL, STYLESHEET
-
-
Constructor Summary
Constructors Constructor Description Attributes()
-
-
-
Field Detail
-
CLIP_PATH
public static final java.lang.String CLIP_PATH
Attribute defining the clipping path to be applied to a specific shape or group of shapes.- See Also:
- Constant Field Values
-
CLIP_RULE
public static final java.lang.String CLIP_RULE
Attribute defining the clipping rule in a clipping path (or element thereof).- See Also:
- Constant Field Values
-
CX
public static final java.lang.String CX
Attribute defining the x value of the center of a circle or ellipse.- See Also:
- Constant Field Values
-
CY
public static final java.lang.String CY
Attribute defining the y value of the center of a circle or ellipse.- See Also:
- Constant Field Values
-
D
public static final java.lang.String D
Attribute defining the outline of a shape.- See Also:
- Constant Field Values
-
DIRECTION
public static final java.lang.String DIRECTION
Attribute defining the direction used by the text- See Also:
- Constant Field Values
-
DX
public static final java.lang.String DX
Attribute defining the relative x-translation of a text-element- See Also:
- Constant Field Values
-
DY
public static final java.lang.String DY
Attribute defining the relative y-translation of a text-element- See Also:
- Constant Field Values
-
FILL
public static final java.lang.String FILL
Attribute defining the fill color.- See Also:
- Constant Field Values
-
FILL_OPACITY
public static final java.lang.String FILL_OPACITY
Attribute defining the fill opacity.- See Also:
- Constant Field Values
-
FILL_RULE
public static final java.lang.String FILL_RULE
Attribute defining the fill rule.- See Also:
- Constant Field Values
-
FONT_FAMILY
public static final java.lang.String FONT_FAMILY
Attribute defining the font family.- See Also:
- Constant Field Values
-
FONT_WEIGHT
public static final java.lang.String FONT_WEIGHT
Attribute defining the font weight.- See Also:
- Constant Field Values
-
FONT_STYLE
public static final java.lang.String FONT_STYLE
Attribute defining the font style.- See Also:
- Constant Field Values
-
FONT_SIZE
public static final java.lang.String FONT_SIZE
Attribute defining the font size.- See Also:
- Constant Field Values
-
ITALIC
public static final java.lang.String ITALIC
The Constant ITALIC.- See Also:
- Constant Field Values
-
BOLD
public static final java.lang.String BOLD
The Constant BOLD.- See Also:
- Constant Field Values
-
GRADIENT_UNITS
public static final java.lang.String GRADIENT_UNITS
Attribute defining the units relation for a color gradient.- See Also:
- Constant Field Values
-
GRADIENT_TRANSFORM
public static final java.lang.String GRADIENT_TRANSFORM
Attribute defining the transformations for a color gradient.- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT
Attribute defining the height. Used in several elements.- See Also:
- Constant Field Values
-
HREF
public static final java.lang.String HREF
Attribute defining the href value.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Attribute defining the unique id of an element.- See Also:
- Constant Field Values
-
MARKER_END
public static final java.lang.String MARKER_END
Attribute defining the marker to use at the end of a path, line, polygon or polyline- See Also:
- Constant Field Values
-
MARKER_HEIGHT
public static final java.lang.String MARKER_HEIGHT
Attribute defining the height of the viewport in which the marker is to be fitted- See Also:
- Constant Field Values
-
MARKER
public static final java.lang.String MARKER
Attribute defining shorthand for marker-start/marker-mid/marker-end- See Also:
- Constant Field Values
-
MARKER_MID
public static final java.lang.String MARKER_MID
Attribute defining the marker drawn at every other vertex but the start and end of a path, line, polygon or polyline- See Also:
- Constant Field Values
-
MARKER_START
public static final java.lang.String MARKER_START
Attribute defining the marker to use at the start of a path, line, polygon or polyline- See Also:
- Constant Field Values
-
MARKER_WIDTH
public static final java.lang.String MARKER_WIDTH
Attribute defining the width of the viewport in which the marker is to be fitted- See Also:
- Constant Field Values
-
MARKER_UNITS
public static final java.lang.String MARKER_UNITS
Attribute defining the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’.- See Also:
- Constant Field Values
-
OFFSET
public static final java.lang.String OFFSET
Attribute defining the offset of a stop color for gradients.- See Also:
- Constant Field Values
-
OPACITY
public static final java.lang.String OPACITY
Attribute defining the opacity of a group or graphic element.- See Also:
- Constant Field Values
-
ORIENT
public static final java.lang.String ORIENT
Attribute defining the orientation of a marker- See Also:
- Constant Field Values
-
PATH_DATA_CLOSE_PATH
public static final java.lang.String PATH_DATA_CLOSE_PATH
Close Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_CURVE_TO
public static final java.lang.String PATH_DATA_CURVE_TO
CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_CURVE_TO
public static final java.lang.String PATH_DATA_REL_CURVE_TO
Relative CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_ELLIPTICAL_ARC_A
public static final java.lang.String PATH_DATA_ELLIPTICAL_ARC_A
Attribute defining Elliptical arc path operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_ELLIPTICAL_ARC_A
public static final java.lang.String PATH_DATA_REL_ELLIPTICAL_ARC_A
Attribute defining Elliptical arc path operator.- See Also:
- Constant Field Values
-
PATH_DATA_CURVE_TO_S
public static final java.lang.String PATH_DATA_CURVE_TO_S
Smooth CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_CURVE_TO_S
public static final java.lang.String PATH_DATA_REL_CURVE_TO_S
Relative Smooth CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_LINE_TO
public static final java.lang.String PATH_DATA_LINE_TO
Absolute LineTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_LINE_TO_H
public static final java.lang.String PATH_DATA_LINE_TO_H
Absolute hrizontal LineTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_LINE_TO_H
public static final java.lang.String PATH_DATA_REL_LINE_TO_H
Relative horizontal LineTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_LINE_TO_V
public static final java.lang.String PATH_DATA_LINE_TO_V
Absolute vertical LineTo Path operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_LINE_TO_V
public static final java.lang.String PATH_DATA_REL_LINE_TO_V
Relative vertical LineTo Path operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_LINE_TO
public static final java.lang.String PATH_DATA_REL_LINE_TO
Relative LineTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_MOVE_TO
public static final java.lang.String PATH_DATA_MOVE_TO
MoveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_MOVE_TO
public static final java.lang.String PATH_DATA_REL_MOVE_TO
Relative MoveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_SHORTHAND_CURVE_TO
public static final java.lang.String PATH_DATA_SHORTHAND_CURVE_TO
Shorthand/smooth quadratic Bézier curveto.- See Also:
- Constant Field Values
-
PATH_DATA_REL_SHORTHAND_CURVE_TO
public static final java.lang.String PATH_DATA_REL_SHORTHAND_CURVE_TO
Relative Shorthand/smooth quadratic Bézier curveto.- See Also:
- Constant Field Values
-
PATH_DATA_CATMULL_CURVE
public static final java.lang.String PATH_DATA_CATMULL_CURVE
Catmull-Rom curve command.- See Also:
- Constant Field Values
-
PATH_DATA_REL_CATMULL_CURVE
public static final java.lang.String PATH_DATA_REL_CATMULL_CURVE
Relative Catmull-Rom curve command.- See Also:
- Constant Field Values
-
PATH_DATA_BEARING
public static final java.lang.String PATH_DATA_BEARING
Bearing command.- See Also:
- Constant Field Values
-
PATH_DATA_REL_BEARING
public static final java.lang.String PATH_DATA_REL_BEARING
Relative Bearing command.- See Also:
- Constant Field Values
-
PATH_DATA_QUAD_CURVE_TO
public static final java.lang.String PATH_DATA_QUAD_CURVE_TO
Quadratic CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATH_DATA_REL_QUAD_CURVE_TO
public static final java.lang.String PATH_DATA_REL_QUAD_CURVE_TO
Relative Quadratic CurveTo Path Operator.- See Also:
- Constant Field Values
-
PATTERN_CONTENT_UNITS
public static final java.lang.String PATTERN_CONTENT_UNITS
Attribute defining the coordinate system for the pattern content.- See Also:
- Constant Field Values
-
PATTERN_TRANSFORM
public static final java.lang.String PATTERN_TRANSFORM
Attribute defining list of transform definitions for the pattern element.- See Also:
- Constant Field Values
-
PATTERN_UNITS
public static final java.lang.String PATTERN_UNITS
Attribute defining the coordinate system for attributes x, y, width , and height in pattern.- See Also:
- Constant Field Values
-
POINTS
public static final java.lang.String POINTS
Attribute defining the points of a polyline or polygon.- See Also:
- Constant Field Values
-
PRESERVE_ASPECT_RATIO
public static final java.lang.String PRESERVE_ASPECT_RATIO
Attribute defining how to preserve the aspect ratio when scaling.- See Also:
- Constant Field Values
-
R
public static final java.lang.String R
Attribute defining the radius of a circle.- See Also:
- Constant Field Values
-
REFX
public static final java.lang.String REFX
Attribute defining the x-axis coordinate of the reference point which is to be aligned exactly at the marker position.- See Also:
- Constant Field Values
-
REFY
public static final java.lang.String REFY
Attribute defining the y-axis coordinate of the reference point which is to be aligned exactly at the marker position.- See Also:
- Constant Field Values
-
RX
public static final java.lang.String RX
Attribute defining the x-axis of an ellipse or the x-axis radius of rounded rectangles.- See Also:
- Constant Field Values
-
RY
public static final java.lang.String RY
Attribute defining the y-axis of an ellipse or the y-axis radius of rounded rectangles.- See Also:
- Constant Field Values
-
SPREAD_METHOD
public static final java.lang.String SPREAD_METHOD
Attribute defining the spread method for a color gradient.- See Also:
- Constant Field Values
-
STROKE
public static final java.lang.String STROKE
Attribute defining the stroke color.- See Also:
- Constant Field Values
-
STROKE_DASHARRAY
public static final java.lang.String STROKE_DASHARRAY
Attribute defining the stroke dash offset.- See Also:
- Constant Field Values
-
STROKE_DASHOFFSET
public static final java.lang.String STROKE_DASHOFFSET
Attribute defining the stroke dash offset.- See Also:
- Constant Field Values
-
STROKE_LINECAP
public static final java.lang.String STROKE_LINECAP
Attribute defining the stroke linecap.- See Also:
- Constant Field Values
-
STROKE_LINEJOIN
public static final java.lang.String STROKE_LINEJOIN
Attribute defining the stroke linejoin.- See Also:
- Constant Field Values
-
STROKE_MITERLIMIT
public static final java.lang.String STROKE_MITERLIMIT
Attribute defining the stroke miterlimit.- See Also:
- Constant Field Values
-
STROKE_OPACITY
public static final java.lang.String STROKE_OPACITY
Attribute defingin the stroke opacity.- See Also:
- Constant Field Values
-
STROKE_WIDTH
public static final java.lang.String STROKE_WIDTH
Attribute defining the stroke width.- See Also:
- Constant Field Values
-
STYLE
public static final java.lang.String STYLE
Attribute defining the style of an element.- See Also:
- Constant Field Values
-
TEXT_CONTENT
public static final java.lang.String TEXT_CONTENT
Attribute defining the text content of a text node.- See Also:
- Constant Field Values
-
TEXT_ANCHOR
public static final java.lang.String TEXT_ANCHOR
Attribute defining the text anchor used by the text- See Also:
- Constant Field Values
-
TRANSFORM
public static final java.lang.String TRANSFORM
Attribute defining a transformation that needs to be applied.- See Also:
- Constant Field Values
-
VIEWBOX
public static final java.lang.String VIEWBOX
Attribute defining the viewbox of an element.- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
Attribute defining the width of an element.- See Also:
- Constant Field Values
-
X
public static final java.lang.String X
Attribute defining the x value of an element.- See Also:
- Constant Field Values
-
X1
public static final java.lang.String X1
Attribute defining the first x coordinate value of a line.- See Also:
- Constant Field Values
-
X2
public static final java.lang.String X2
Attribute defining the second x coordinate value of a line.- See Also:
- Constant Field Values
-
XLINK_HREF
public static final java.lang.String XLINK_HREF
Attribute defining image source.- See Also:
- Constant Field Values
-
XMLNS
public static final java.lang.String XMLNS
Attribute defining XML namespace- See Also:
- Constant Field Values
-
XML_SPACE
public static final java.lang.String XML_SPACE
Attribute defining the property that sets how white space inside an element is handled.- See Also:
- Constant Field Values
-
Y
public static final java.lang.String Y
Attribute defining the y value of an element.- See Also:
- Constant Field Values
-
Y1
public static final java.lang.String Y1
Attribute defining the first y coordinate value of a line.- See Also:
- Constant Field Values
-
Y2
public static final java.lang.String Y2
Attribute defining the second y coordinate value of a line.- See Also:
- Constant Field Values
-
VECTOR_EFFECT
public static final java.lang.String VECTOR_EFFECT
Attribute defining vector-effect.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
Attribute defining version.- See Also:
- Constant Field Values
-
-