Package com.itextpdf.svg

Class 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 Details

    • CLIP_PATH

      public static final String CLIP_PATH
      Attribute defining the clipping path to be applied to a specific shape or group of shapes.
      See Also:
    • CLIP_RULE

      public static final String CLIP_RULE
      Attribute defining the clipping rule in a clipping path (or element thereof).
      See Also:
    • CX

      public static final String CX
      Attribute defining the x value of the center of a circle or ellipse.
      See Also:
    • CY

      public static final String CY
      Attribute defining the y value of the center of a circle or ellipse.
      See Also:
    • D

      public static final String D
      Attribute defining the outline of a shape.
      See Also:
    • DX

      public static final String DX
      Attribute defining the relative x-translation of a text-element
      See Also:
    • DY

      public static final String DY
      Attribute defining the relative y-translation of a text-element
      See Also:
    • FILL

      public static final String FILL
      Attribute defining the fill color.
      See Also:
    • FILL_OPACITY

      public static final String FILL_OPACITY
      Attribute defining the fill opacity.
      See Also:
    • FILL_RULE

      public static final String FILL_RULE
      Attribute defining the fill rule.
      See Also:
    • FONT_FAMILY

      public static final String FONT_FAMILY
      Attribute defining the font family.
      See Also:
    • FONT_WEIGHT

      public static final String FONT_WEIGHT
      Attribute defining the font weight.
      See Also:
    • FONT_STYLE

      public static final String FONT_STYLE
      Attribute defining the font style.
      See Also:
    • FONT_SIZE

      public static final String FONT_SIZE
      Attribute defining the font size.
      See Also:
    • ITALIC

      public static final String ITALIC
      The Constant ITALIC.
      See Also:
    • BOLD

      public static final String BOLD
      The Constant BOLD.
      See Also:
    • GRADIENT_UNITS

      public static final String GRADIENT_UNITS
      Attribute defining the units relation for a color gradient.
      See Also:
    • GRADIENT_TRANSFORM

      public static final String GRADIENT_TRANSFORM
      Attribute defining the transformations for a color gradient.
      See Also:
    • HEIGHT

      public static final String HEIGHT
      Attribute defining the height. Used in several elements.
      See Also:
    • HREF

      public static final String HREF
      Attribute defining the href value.
      See Also:
    • ID

      public static final String ID
      Attribute defining the unique id of an element.
      See Also:
    • MARKER_END

      public static final String MARKER_END
      Attribute defining the marker to use at the end of a path, line, polygon or polyline
      See Also:
    • MARKER_HEIGHT

      public static final String MARKER_HEIGHT
      Attribute defining the height of the viewport in which the marker is to be fitted
      See Also:
    • MARKER_MID

      public static final 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:
    • MARKER_START

      public static final String MARKER_START
      Attribute defining the marker to use at the start of a path, line, polygon or polyline
      See Also:
    • MARKER_WIDTH

      public static final String MARKER_WIDTH
      Attribute defining the width of the viewport in which the marker is to be fitted
      See Also:
    • MARKER_UNITS

      public static final String MARKER_UNITS
      Attribute defining the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’.
      See Also:
    • OFFSET

      public static final String OFFSET
      Attribute defining the offset of a stop color for gradients.
      See Also:
    • OPACITY

      public static final String OPACITY
      Attribute defining the opacity of a group or graphic element.
      See Also:
    • ORIENT

      public static final String ORIENT
      Attribute defining the orientation of a marker
      See Also:
    • PATH_DATA_CLOSE_PATH

      public static final String PATH_DATA_CLOSE_PATH
      Close Path Operator.
      See Also:
    • PATH_DATA_CURVE_TO

      public static final String PATH_DATA_CURVE_TO
      CurveTo Path Operator.
      See Also:
    • PATH_DATA_REL_CURVE_TO

      public static final String PATH_DATA_REL_CURVE_TO
      Relative CurveTo Path Operator.
      See Also:
    • PATH_DATA_ELLIPTICAL_ARC_A

      public static final String PATH_DATA_ELLIPTICAL_ARC_A
      Attribute defining Elliptical arc path operator.
      See Also:
    • PATH_DATA_REL_ELLIPTICAL_ARC_A

      public static final String PATH_DATA_REL_ELLIPTICAL_ARC_A
      Attribute defining Elliptical arc path operator.
      See Also:
    • PATH_DATA_CURVE_TO_S

      public static final String PATH_DATA_CURVE_TO_S
      Smooth CurveTo Path Operator.
      See Also:
    • PATH_DATA_REL_CURVE_TO_S

      public static final String PATH_DATA_REL_CURVE_TO_S
      Relative Smooth CurveTo Path Operator.
      See Also:
    • PATH_DATA_LINE_TO

      public static final String PATH_DATA_LINE_TO
      Absolute LineTo Path Operator.
      See Also:
    • PATH_DATA_LINE_TO_H

      public static final String PATH_DATA_LINE_TO_H
      Absolute hrizontal LineTo Path Operator.
      See Also:
    • PATH_DATA_REL_LINE_TO_H

      public static final String PATH_DATA_REL_LINE_TO_H
      Relative horizontal LineTo Path Operator.
      See Also:
    • PATH_DATA_LINE_TO_V

      public static final String PATH_DATA_LINE_TO_V
      Absolute vertical LineTo Path operator.
      See Also:
    • PATH_DATA_REL_LINE_TO_V

      public static final String PATH_DATA_REL_LINE_TO_V
      Relative vertical LineTo Path operator.
      See Also:
    • PATH_DATA_REL_LINE_TO

      public static final String PATH_DATA_REL_LINE_TO
      Relative LineTo Path Operator.
      See Also:
    • PATH_DATA_MOVE_TO

      public static final String PATH_DATA_MOVE_TO
      MoveTo Path Operator.
      See Also:
    • PATH_DATA_REL_MOVE_TO

      public static final String PATH_DATA_REL_MOVE_TO
      Relative MoveTo Path Operator.
      See Also:
    • PATH_DATA_SHORTHAND_CURVE_TO

      public static final String PATH_DATA_SHORTHAND_CURVE_TO
      Shorthand/smooth quadratic Bézier curveto.
      See Also:
    • PATH_DATA_REL_SHORTHAND_CURVE_TO

      public static final String PATH_DATA_REL_SHORTHAND_CURVE_TO
      Relative Shorthand/smooth quadratic Bézier curveto.
      See Also:
    • PATH_DATA_CATMULL_CURVE

      public static final String PATH_DATA_CATMULL_CURVE
      Catmull-Rom curve command.
      See Also:
    • PATH_DATA_REL_CATMULL_CURVE

      public static final String PATH_DATA_REL_CATMULL_CURVE
      Relative Catmull-Rom curve command.
      See Also:
    • PATH_DATA_BEARING

      public static final String PATH_DATA_BEARING
      Bearing command.
      See Also:
    • PATH_DATA_REL_BEARING

      public static final String PATH_DATA_REL_BEARING
      Relative Bearing command.
      See Also:
    • PATH_DATA_QUAD_CURVE_TO

      public static final String PATH_DATA_QUAD_CURVE_TO
      Quadratic CurveTo Path Operator.
      See Also:
    • PATH_DATA_REL_QUAD_CURVE_TO

      public static final String PATH_DATA_REL_QUAD_CURVE_TO
      Relative Quadratic CurveTo Path Operator.
      See Also:
    • PATTERN_CONTENT_UNITS

      public static final String PATTERN_CONTENT_UNITS
      Attribute defining the coordinate system for the pattern content.
      See Also:
    • PATTERN_TRANSFORM

      public static final String PATTERN_TRANSFORM
      Attribute defining list of transform definitions for the pattern element.
      See Also:
    • PATTERN_UNITS

      public static final String PATTERN_UNITS
      Attribute defining the coordinate system for attributes x, y, width , and height in pattern.
      See Also:
    • POINTS

      public static final String POINTS
      Attribute defining the points of a polyline or polygon.
      See Also:
    • PRESERVE_ASPECT_RATIO

      public static final String PRESERVE_ASPECT_RATIO
      Attribute defining how to preserve the aspect ratio when scaling.
      See Also:
    • R

      public static final String R
      Attribute defining the radius of a circle.
      See Also:
    • REFX

      public static final String REFX
      Attribute defining the x-axis coordinate of the reference point which is to be aligned exactly at the marker position.
      See Also:
    • REFY

      public static final String REFY
      Attribute defining the y-axis coordinate of the reference point which is to be aligned exactly at the marker position.
      See Also:
    • RX

      public static final String RX
      Attribute defining the x-axis of an ellipse or the x-axis radius of rounded rectangles.
      See Also:
    • RY

      public static final String RY
      Attribute defining the y-axis of an ellipse or the y-axis radius of rounded rectangles.
      See Also:
    • SPREAD_METHOD

      public static final String SPREAD_METHOD
      Attribute defining the spread method for a color gradient.
      See Also:
    • STROKE

      public static final String STROKE
      Attribute defining the stroke color.
      See Also:
    • STROKE_DASHARRAY

      public static final String STROKE_DASHARRAY
      Attribute defining the stroke dash offset.
      See Also:
    • STROKE_DASHOFFSET

      public static final String STROKE_DASHOFFSET
      Attribute defining the stroke dash offset.
      See Also:
    • STROKE_LINECAP

      public static final String STROKE_LINECAP
      Attribute defining the stroke linecap.
      See Also:
    • STROKE_MITERLIMIT

      public static final String STROKE_MITERLIMIT
      Attribute defining the stroke miterlimit.
      See Also:
    • STROKE_OPACITY

      public static final String STROKE_OPACITY
      Attribute defingin the stroke opacity.
      See Also:
    • STROKE_WIDTH

      public static final String STROKE_WIDTH
      Attribute defining the stroke width.
      See Also:
    • STYLE

      public static final String STYLE
      Attribute defining the style of an element.
      See Also:
    • TEXT_CONTENT

      public static final String TEXT_CONTENT
      Attribute defining the text content of a text node.
      See Also:
    • TEXT_ANCHOR

      public static final String TEXT_ANCHOR
      Attribute defining the text anchor used by the text
      See Also:
    • TRANSFORM

      public static final String TRANSFORM
      Attribute defining a transformation that needs to be applied.
      See Also:
    • VIEWBOX

      public static final String VIEWBOX
      Attribute defining the viewbox of an element.
      See Also:
    • WIDTH

      public static final String WIDTH
      Attribute defining the width of an element.
      See Also:
    • X

      public static final String X
      Attribute defining the x value of an element.
      See Also:
    • X1

      public static final String X1
      Attribute defining the first x coordinate value of a line.
      See Also:
    • X2

      public static final String X2
      Attribute defining the second x coordinate value of a line.
      See Also:
    • XMLNS

      public static final String XMLNS
      Attribute defining XML namespace
      See Also:
    • Y

      public static final String Y
      Attribute defining the y value of an element.
      See Also:
    • Y1

      public static final String Y1
      Attribute defining the first y coordinate value of a line.
      See Also:
    • Y2

      public static final String Y2
      Attribute defining the second y coordinate value of a line.
      See Also:
    • VERSION

      public static final String VERSION
      Attribute defining version
      See Also:
  • Constructor Details

    • Attributes

      public Attributes()