iText 7 7.1.10 API
iText.Svg.SvgConstants.Attributes Class Reference

Class containing the constant property names for the attributes of tags in the SVG spec More...

Inheritance diagram for iText.Svg.SvgConstants.Attributes:
iText.StyledXmlParser.CommonAttributeConstants

Static Public Attributes

const String  CLIP_PATH = "clip-path"
  Attribute defining the clipping path to be applied to a specific shape or group of shapes. More...
 
const String  CLIP_RULE = "clip-rule"
  Attribute defining the clipping rule in a clipping path (or element thereof). More...
 
const String  CX = "cx"
  Attribute defining the x value of the center of a circle or ellipse. More...
 
const String  CY = "cy"
  Attribute defining the y value of the center of a circle or ellipse. More...
 
const String  D = "d"
  Attribute defining the outline of a shape. More...
 
const String  DX = "dx"
  Attribute defining the relative x-translation of a text-element More...
 
const String  DY = "dy"
  Attribute defining the relative y-translation of a text-element More...
 
const String  FILL = "fill"
  Attribute defining the fill color. More...
 
const String  FILL_OPACITY = "fill-opacity"
  Attribute defining the fill opacity. More...
 
const String  FILL_RULE = "fill-rule"
  Attribute defining the fill rule. More...
 
const String  FONT_FAMILY = "font-family"
  Attribute defining the font family. More...
 
const String  FONT_WEIGHT = "font-weight"
  Attribute defining the font weight. More...
 
const String  FONT_STYLE = "font-style"
  Attribute defining the font style. More...
 
const String  FONT_SIZE = "font-size"
  Attribute defining the font size. More...
 
const String  ITALIC = "italic"
  The Constant ITALIC. More...
 
const String  BOLD = "bold"
  The Constant BOLD. More...
 
const String  HEIGHT = "height"
  Attribute defining the height. More...
 
const String  HREF = "href"
  Attribute defining the href value. More...
 
const String  ID = "id"
  Attribute defining the unique id of an element. More...
 
const String  MARKER_END = "marker-end"
  Attribute defining the marker to use at the end of a path, line, polygon or polyline More...
 
const String  MARKER_HEIGHT = "markerheight"
  Attribute defining the height of the viewport in which the marker is to be fitted More...
 
const String  MARKER_MID = "marker-mid"
  Attribute defining the marker drawn at every other vertex but the start and end of a path, line, polygon or polyline More...
 
const String  MARKER_START = "marker-start"
  Attribute defining the marker to use at the start of a path, line, polygon or polyline More...
 
const String  MARKER_WIDTH = "markerwidth"
  Attribute defining the width of the viewport in which the marker is to be fitted More...
 
const String  MARKER_UNITS = "markerunits"
  Attribute defining the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’. More...
 
const String  OPACITY = "opacity"
  Attribute defining the opacity of a group or graphic element. More...
 
const String  ORIENT = "orient"
  Attribute defining the orientation of a marker More...
 
const String  PATH_DATA_CLOSE_PATH = "Z"
  Close Path Operator. More...
 
const String  PATH_DATA_CURVE_TO = "C"
  CurveTo Path Operator. More...
 
const String  PATH_DATA_REL_CURVE_TO = "c"
  Relative CurveTo Path Operator. More...
 
const String  PATH_DATA_ELLIPTICAL_ARC_A = "A"
  Attribute defining Elliptical arc path operator. More...
 
const String  PATH_DATA_REL_ELLIPTICAL_ARC_A = "a"
  Attribute defining Elliptical arc path operator. More...
 
const String  PATH_DATA_CURVE_TO_S = "S"
  Smooth CurveTo Path Operator. More...
 
const String  PATH_DATA_REL_CURVE_TO_S = "s"
  Relative Smooth CurveTo Path Operator. More...
 
const String  PATH_DATA_LINE_TO = "L"
  Absolute LineTo Path Operator. More...
 
const String  PATH_DATA_LINE_TO_H = "H"
  Absolute hrizontal LineTo Path Operator. More...
 
const String  PATH_DATA_REL_LINE_TO_H = "h"
  Relative horizontal LineTo Path Operator. More...
 
const String  PATH_DATA_LINE_TO_V = "V"
  Absolute vertical LineTo Path operator. More...
 
const String  PATH_DATA_REL_LINE_TO_V = "v"
  Relative vertical LineTo Path operator. More...
 
const String  PATH_DATA_REL_LINE_TO = "l"
  Relative LineTo Path Operator. More...
 
const String  PATH_DATA_MOVE_TO = "M"
  MoveTo Path Operator. More...
 
const String  PATH_DATA_REL_MOVE_TO = "m"
  Relative MoveTo Path Operator. More...
 
const String  PATH_DATA_SHORTHAND_CURVE_TO = "T"
  Shorthand/smooth quadratic Bézier curveto. More...
 
const String  PATH_DATA_REL_SHORTHAND_CURVE_TO = "t"
  Relative Shorthand/smooth quadratic Bézier curveto. More...
 
const String  PATH_DATA_CATMULL_CURVE = "R"
  Catmull-Rom curve command. More...
 
const String  PATH_DATA_REL_CATMULL_CURVE = "r"
  Relative Catmull-Rom curve command. More...
 
const String  PATH_DATA_BEARING = "B"
  Bearing command. More...
 
const String  PATH_DATA_REL_BEARING = "b"
  Relative Bearing command. More...
 
const String  PATH_DATA_QUAD_CURVE_TO = "Q"
  Quadratic CurveTo Path Operator. More...
 
const String  PATH_DATA_REL_QUAD_CURVE_TO = "q"
  Relative Quadratic CurveTo Path Operator. More...
 
const String  POINTS = "points"
  Attribute defining the points of a polyline or polygon. More...
 
const String  PRESERVE_ASPECT_RATIO = "preserveaspectratio"
  Attribute defining how to preserve the aspect ratio when scaling. More...
 
const String  R = "r"
  Attribute defining the radius of a circle. More...
 
const String  REFX = "refx"
  Attribute defining the x-axis coordinate of the reference point which is to be aligned exactly at the marker position. More...
 
const String  REFY = "refy"
  Attribute defining the y-axis coordinate of the reference point which is to be aligned exactly at the marker position. More...
 
const String  RX = "rx"
  Attribute defining the x-axis of an ellipse or the x-axis radius of rounded rectangles. More...
 
const String  RY = "ry"
  Attribute defining the y-axis of an ellipse or the y-axis radius of rounded rectangles. More...
 
const String  STROKE = "stroke"
  Attribute defining the stroke color. More...
 
const String  STROKE_DASHARRAY = "stroke-dasharray"
  Attribute defining the stroke dash offset. More...
 
const String  STROKE_DASHOFFSET = "stroke-dashoffset"
  Attribute defining the stroke dash offset. More...
 
const String  STROKE_LINECAP = "stroke-linecap"
  Attribute defining the stroke linecap. More...
 
const String  STROKE_MITERLIMIT = "stroke-miterlimit"
  Attribute defining the stroke miterlimit. More...
 
const String  STROKE_OPACITY = "stroke-opacity"
  Attribute defingin the stroke opacity. More...
 
const String  STROKE_WIDTH = "stroke-width"
  Attribute defining the stroke width. More...
 
const String  STYLE = "style"
  Attribute defining the style of an element. More...
 
const String  TEXT_CONTENT = "text_content"
  Attribute defining the text content of a text node. More...
 
const String  TEXT_ANCHOR = "text-anchor"
  Attribute defining the text anchor used by the text More...
 
const String  TRANSFORM = "transform"
  Attribute defining a transformation that needs to be applied. More...
 
const String  VIEWBOX = "viewbox"
  Attribute defining the viewbox of an element. More...
 
const String  WIDTH = "width"
  Attribute defining the width of an element. More...
 
const String  X = "x"
  Attribute defining the x value of an element. More...
 
const String  X1 = "x1"
  Attribute defining the first x coordinate value of a line. More...
 
const String  X2 = "x2"
  Attribute defining the second x coordinate value of a line. More...
 
const String  XLINK_HREF = "xlink:href"
  Attribute defining image source. More...
 
const String  XMLNS = "xmlns"
  Attribute defining XML namespace More...
 
const String  Y = "y"
  Attribute defining the y value of an element. More...
 
const String  Y1 = "y1"
  Attribute defining the first y coordinate value of a line. More...
 
const String  Y2 = "y2"
  Attribute defining the second y coordinate value of a line. More...
 
const String  VERSION = "version"
  Attribute defining version More...
 
- Static Public Attributes inherited from iText.StyledXmlParser.CommonAttributeConstants
const String  CLASS = "class"
  The Constant CLASS. More...
 
const String  DISABLED = "disabled"
  The Constant DISABLED. More...
 
const String  ID = "id"
  The Constant ID. More...
 
const String  LANG = "lang"
  The Constant LANG. More...
 
const String  REL = "rel"
  The Constant REL. More...
 
const String  STYLESHEET = "stylesheet"
  The Constant STYLESHEET. More...
 

Detailed Description

Class containing the constant property names for the attributes of tags in the SVG spec

Member Data Documentation

◆ BOLD

const String iText.Svg.SvgConstants.Attributes.BOLD = "bold"
static

The Constant BOLD.

◆ CLIP_PATH

const String iText.Svg.SvgConstants.Attributes.CLIP_PATH = "clip-path"
static

Attribute defining the clipping path to be applied to a specific shape or group of shapes.

◆ CLIP_RULE

const String iText.Svg.SvgConstants.Attributes.CLIP_RULE = "clip-rule"
static

Attribute defining the clipping rule in a clipping path (or element thereof).

◆ CX

const String iText.Svg.SvgConstants.Attributes.CX = "cx"
static

Attribute defining the x value of the center of a circle or ellipse.

◆ CY

const String iText.Svg.SvgConstants.Attributes.CY = "cy"
static

Attribute defining the y value of the center of a circle or ellipse.

◆ D

const String iText.Svg.SvgConstants.Attributes.D = "d"
static

Attribute defining the outline of a shape.

◆ DX

const String iText.Svg.SvgConstants.Attributes.DX = "dx"
static

Attribute defining the relative x-translation of a text-element

◆ DY

const String iText.Svg.SvgConstants.Attributes.DY = "dy"
static

Attribute defining the relative y-translation of a text-element

◆ FILL

const String iText.Svg.SvgConstants.Attributes.FILL = "fill"
static

Attribute defining the fill color.

◆ FILL_OPACITY

const String iText.Svg.SvgConstants.Attributes.FILL_OPACITY = "fill-opacity"
static

Attribute defining the fill opacity.

◆ FILL_RULE

const String iText.Svg.SvgConstants.Attributes.FILL_RULE = "fill-rule"
static

Attribute defining the fill rule.

◆ FONT_FAMILY

const String iText.Svg.SvgConstants.Attributes.FONT_FAMILY = "font-family"
static

Attribute defining the font family.

◆ FONT_SIZE

const String iText.Svg.SvgConstants.Attributes.FONT_SIZE = "font-size"
static

Attribute defining the font size.

◆ FONT_STYLE

const String iText.Svg.SvgConstants.Attributes.FONT_STYLE = "font-style"
static

Attribute defining the font style.

◆ FONT_WEIGHT

const String iText.Svg.SvgConstants.Attributes.FONT_WEIGHT = "font-weight"
static

Attribute defining the font weight.

◆ HEIGHT

const String iText.Svg.SvgConstants.Attributes.HEIGHT = "height"
static

Attribute defining the height.

Attribute defining the height. Used in several elements.

◆ HREF

const String iText.Svg.SvgConstants.Attributes.HREF = "href"
static

Attribute defining the href value.

◆ ID

const String iText.Svg.SvgConstants.Attributes.ID = "id"
static

Attribute defining the unique id of an element.

◆ ITALIC

const String iText.Svg.SvgConstants.Attributes.ITALIC = "italic"
static

The Constant ITALIC.

◆ MARKER_END

const String iText.Svg.SvgConstants.Attributes.MARKER_END = "marker-end"
static

Attribute defining the marker to use at the end of a path, line, polygon or polyline

◆ MARKER_HEIGHT

const String iText.Svg.SvgConstants.Attributes.MARKER_HEIGHT = "markerheight"
static

Attribute defining the height of the viewport in which the marker is to be fitted

◆ MARKER_MID

const String iText.Svg.SvgConstants.Attributes.MARKER_MID = "marker-mid"
static

Attribute defining the marker drawn at every other vertex but the start and end of a path, line, polygon or polyline

◆ MARKER_START

const String iText.Svg.SvgConstants.Attributes.MARKER_START = "marker-start"
static

Attribute defining the marker to use at the start of a path, line, polygon or polyline

◆ MARKER_UNITS

const String iText.Svg.SvgConstants.Attributes.MARKER_UNITS = "markerunits"
static

Attribute defining the coordinate system for attributes ‘markerWidth’, ‘markerHeight’ and the contents of the ‘marker’.

◆ MARKER_WIDTH

const String iText.Svg.SvgConstants.Attributes.MARKER_WIDTH = "markerwidth"
static

Attribute defining the width of the viewport in which the marker is to be fitted

◆ OPACITY

const String iText.Svg.SvgConstants.Attributes.OPACITY = "opacity"
static

Attribute defining the opacity of a group or graphic element.

◆ ORIENT

const String iText.Svg.SvgConstants.Attributes.ORIENT = "orient"
static

Attribute defining the orientation of a marker

◆ PATH_DATA_BEARING

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_BEARING = "B"
static

Bearing command.

◆ PATH_DATA_CATMULL_CURVE

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_CATMULL_CURVE = "R"
static

Catmull-Rom curve command.

◆ PATH_DATA_CLOSE_PATH

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_CLOSE_PATH = "Z"
static

Close Path Operator.

◆ PATH_DATA_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_CURVE_TO = "C"
static

CurveTo Path Operator.

◆ PATH_DATA_CURVE_TO_S

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_CURVE_TO_S = "S"
static

Smooth CurveTo Path Operator.

◆ PATH_DATA_ELLIPTICAL_ARC_A

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_ELLIPTICAL_ARC_A = "A"
static

Attribute defining Elliptical arc path operator.

◆ PATH_DATA_LINE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_LINE_TO = "L"
static

Absolute LineTo Path Operator.

◆ PATH_DATA_LINE_TO_H

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_LINE_TO_H = "H"
static

Absolute hrizontal LineTo Path Operator.

◆ PATH_DATA_LINE_TO_V

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_LINE_TO_V = "V"
static

Absolute vertical LineTo Path operator.

◆ PATH_DATA_MOVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_MOVE_TO = "M"
static

MoveTo Path Operator.

◆ PATH_DATA_QUAD_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_QUAD_CURVE_TO = "Q"
static

Quadratic CurveTo Path Operator.

◆ PATH_DATA_REL_BEARING

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_BEARING = "b"
static

Relative Bearing command.

◆ PATH_DATA_REL_CATMULL_CURVE

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_CATMULL_CURVE = "r"
static

Relative Catmull-Rom curve command.

◆ PATH_DATA_REL_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_CURVE_TO = "c"
static

Relative CurveTo Path Operator.

◆ PATH_DATA_REL_CURVE_TO_S

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_CURVE_TO_S = "s"
static

Relative Smooth CurveTo Path Operator.

◆ PATH_DATA_REL_ELLIPTICAL_ARC_A

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_ELLIPTICAL_ARC_A = "a"
static

Attribute defining Elliptical arc path operator.

◆ PATH_DATA_REL_LINE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_LINE_TO = "l"
static

Relative LineTo Path Operator.

◆ PATH_DATA_REL_LINE_TO_H

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_LINE_TO_H = "h"
static

Relative horizontal LineTo Path Operator.

◆ PATH_DATA_REL_LINE_TO_V

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_LINE_TO_V = "v"
static

Relative vertical LineTo Path operator.

◆ PATH_DATA_REL_MOVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_MOVE_TO = "m"
static

Relative MoveTo Path Operator.

◆ PATH_DATA_REL_QUAD_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_QUAD_CURVE_TO = "q"
static

Relative Quadratic CurveTo Path Operator.

◆ PATH_DATA_REL_SHORTHAND_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_REL_SHORTHAND_CURVE_TO = "t"
static

Relative Shorthand/smooth quadratic Bézier curveto.

◆ PATH_DATA_SHORTHAND_CURVE_TO

const String iText.Svg.SvgConstants.Attributes.PATH_DATA_SHORTHAND_CURVE_TO = "T"
static

Shorthand/smooth quadratic Bézier curveto.

◆ POINTS

const String iText.Svg.SvgConstants.Attributes.POINTS = "points"
static

Attribute defining the points of a polyline or polygon.

◆ PRESERVE_ASPECT_RATIO

const String iText.Svg.SvgConstants.Attributes.PRESERVE_ASPECT_RATIO = "preserveaspectratio"
static

Attribute defining how to preserve the aspect ratio when scaling.

◆ R

const String iText.Svg.SvgConstants.Attributes.R = "r"
static

Attribute defining the radius of a circle.

◆ REFX

const String iText.Svg.SvgConstants.Attributes.REFX = "refx"
static

Attribute defining the x-axis coordinate of the reference point which is to be aligned exactly at the marker position.

◆ REFY

const String iText.Svg.SvgConstants.Attributes.REFY = "refy"
static

Attribute defining the y-axis coordinate of the reference point which is to be aligned exactly at the marker position.

◆ RX

const String iText.Svg.SvgConstants.Attributes.RX = "rx"
static

Attribute defining the x-axis of an ellipse or the x-axis radius of rounded rectangles.

◆ RY

const String iText.Svg.SvgConstants.Attributes.RY = "ry"
static

Attribute defining the y-axis of an ellipse or the y-axis radius of rounded rectangles.

◆ STROKE

const String iText.Svg.SvgConstants.Attributes.STROKE = "stroke"
static

Attribute defining the stroke color.

◆ STROKE_DASHARRAY

const String iText.Svg.SvgConstants.Attributes.STROKE_DASHARRAY = "stroke-dasharray"
static

Attribute defining the stroke dash offset.

◆ STROKE_DASHOFFSET

const String iText.Svg.SvgConstants.Attributes.STROKE_DASHOFFSET = "stroke-dashoffset"
static

Attribute defining the stroke dash offset.

◆ STROKE_LINECAP

const String iText.Svg.SvgConstants.Attributes.STROKE_LINECAP = "stroke-linecap"
static

Attribute defining the stroke linecap.

◆ STROKE_MITERLIMIT

const String iText.Svg.SvgConstants.Attributes.STROKE_MITERLIMIT = "stroke-miterlimit"
static

Attribute defining the stroke miterlimit.

◆ STROKE_OPACITY

const String iText.Svg.SvgConstants.Attributes.STROKE_OPACITY = "stroke-opacity"
static

Attribute defingin the stroke opacity.

◆ STROKE_WIDTH

const String iText.Svg.SvgConstants.Attributes.STROKE_WIDTH = "stroke-width"
static

Attribute defining the stroke width.

◆ STYLE

const String iText.Svg.SvgConstants.Attributes.STYLE = "style"
static

Attribute defining the style of an element.

◆ TEXT_ANCHOR

const String iText.Svg.SvgConstants.Attributes.TEXT_ANCHOR = "text-anchor"
static

Attribute defining the text anchor used by the text

◆ TEXT_CONTENT

const String iText.Svg.SvgConstants.Attributes.TEXT_CONTENT = "text_content"
static

Attribute defining the text content of a text node.

◆ TRANSFORM

const String iText.Svg.SvgConstants.Attributes.TRANSFORM = "transform"
static

Attribute defining a transformation that needs to be applied.

◆ VERSION

const String iText.Svg.SvgConstants.Attributes.VERSION = "version"
static

Attribute defining version

◆ VIEWBOX

const String iText.Svg.SvgConstants.Attributes.VIEWBOX = "viewbox"
static

Attribute defining the viewbox of an element.

◆ WIDTH

const String iText.Svg.SvgConstants.Attributes.WIDTH = "width"
static

Attribute defining the width of an element.

◆ X

const String iText.Svg.SvgConstants.Attributes.X = "x"
static

Attribute defining the x value of an element.

◆ X1

const String iText.Svg.SvgConstants.Attributes.X1 = "x1"
static

Attribute defining the first x coordinate value of a line.

◆ X2

const String iText.Svg.SvgConstants.Attributes.X2 = "x2"
static

Attribute defining the second x coordinate value of a line.

◆ XLINK_HREF

const String iText.Svg.SvgConstants.Attributes.XLINK_HREF = "xlink:href"
static

Attribute defining image source.

◆ XMLNS

const String iText.Svg.SvgConstants.Attributes.XMLNS = "xmlns"
static

Attribute defining XML namespace

◆ Y

const String iText.Svg.SvgConstants.Attributes.Y = "y"
static

Attribute defining the y value of an element.

◆ Y1

const String iText.Svg.SvgConstants.Attributes.Y1 = "y1"
static

Attribute defining the first y coordinate value of a line.

◆ Y2

const String iText.Svg.SvgConstants.Attributes.Y2 = "y2"
static

Attribute defining the second y coordinate value of a line.