Table of Contents

Class SvgConstants.Attributes

Namespace
iText.Svg
Assembly
itext.svg.dll

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

public sealed class SvgConstants.Attributes : CommonAttributeConstants
Inheritance
SvgConstants.Attributes
Inherited Members

Constructors

Attributes()

public Attributes()

Fields

BOLD

The Constant BOLD.

public const string BOLD = "bold"

Field Value

string

CLIP_PATH

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

public const string CLIP_PATH = "clip-path"

Field Value

string

CLIP_RULE

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

public const string CLIP_RULE = "clip-rule"

Field Value

string

CX

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

public const string CX = "cx"

Field Value

string

CY

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

public const string CY = "cy"

Field Value

string

D

Attribute defining the outline of a shape.

public const string D = "d"

Field Value

string

DX

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

public const string DX = "dx"

Field Value

string

DY

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

public const string DY = "dy"

Field Value

string

FILL

Attribute defining the fill color.

public const string FILL = "fill"

Field Value

string

FILL_OPACITY

Attribute defining the fill opacity.

public const string FILL_OPACITY = "fill-opacity"

Field Value

string

FILL_RULE

Attribute defining the fill rule.

public const string FILL_RULE = "fill-rule"

Field Value

string

FONT_FAMILY

Attribute defining the font family.

public const string FONT_FAMILY = "font-family"

Field Value

string

FONT_SIZE

Attribute defining the font size.

public const string FONT_SIZE = "font-size"

Field Value

string

FONT_STYLE

Attribute defining the font style.

public const string FONT_STYLE = "font-style"

Field Value

string

FONT_WEIGHT

Attribute defining the font weight.

public const string FONT_WEIGHT = "font-weight"

Field Value

string

GRADIENT_TRANSFORM

Attribute defining the transformations for a color gradient.

public const string GRADIENT_TRANSFORM = "gradientTransform"

Field Value

string

GRADIENT_UNITS

Attribute defining the units relation for a color gradient.

public const string GRADIENT_UNITS = "gradientUnits"

Field Value

string

HEIGHT

Attribute defining the height.

public const string HEIGHT = "height"

Field Value

string

Remarks

Attribute defining the height. Used in several elements.

HREF

Attribute defining the href value.

public const string HREF = "href"

Field Value

string

ID

Attribute defining the unique id of an element.

public const string ID = "id"

Field Value

string

ITALIC

The Constant ITALIC.

public const string ITALIC = "italic"

Field Value

string

MARKER_END

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

public const string MARKER_END = "marker-end"

Field Value

string

MARKER_HEIGHT

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

public const string MARKER_HEIGHT = "markerHeight"

Field Value

string

MARKER_MID

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

public const string MARKER_MID = "marker-mid"

Field Value

string

MARKER_START

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

public const string MARKER_START = "marker-start"

Field Value

string

MARKER_UNITS

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

public const string MARKER_UNITS = "markerUnits"

Field Value

string

MARKER_WIDTH

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

public const string MARKER_WIDTH = "markerWidth"

Field Value

string

OFFSET

Attribute defining the offset of a stop color for gradients.

public const string OFFSET = "offset"

Field Value

string

OPACITY

Attribute defining the opacity of a group or graphic element.

public const string OPACITY = "opacity"

Field Value

string

ORIENT

Attribute defining the orientation of a marker

public const string ORIENT = "orient"

Field Value

string

PATH_DATA_BEARING

Bearing command.

public const string PATH_DATA_BEARING = "B"

Field Value

string

PATH_DATA_CATMULL_CURVE

Catmull-Rom curve command.

public const string PATH_DATA_CATMULL_CURVE = "R"

Field Value

string

PATH_DATA_CLOSE_PATH

Close Path Operator.

public const string PATH_DATA_CLOSE_PATH = "Z"

Field Value

string

PATH_DATA_CURVE_TO

CurveTo Path Operator.

public const string PATH_DATA_CURVE_TO = "C"

Field Value

string

PATH_DATA_CURVE_TO_S

Smooth CurveTo Path Operator.

public const string PATH_DATA_CURVE_TO_S = "S"

Field Value

string

PATH_DATA_ELLIPTICAL_ARC_A

Attribute defining Elliptical arc path operator.

public const string PATH_DATA_ELLIPTICAL_ARC_A = "A"

Field Value

string

PATH_DATA_LINE_TO

Absolute LineTo Path Operator.

public const string PATH_DATA_LINE_TO = "L"

Field Value

string

PATH_DATA_LINE_TO_H

Absolute hrizontal LineTo Path Operator.

public const string PATH_DATA_LINE_TO_H = "H"

Field Value

string

PATH_DATA_LINE_TO_V

Absolute vertical LineTo Path operator.

public const string PATH_DATA_LINE_TO_V = "V"

Field Value

string

PATH_DATA_MOVE_TO

MoveTo Path Operator.

public const string PATH_DATA_MOVE_TO = "M"

Field Value

string

PATH_DATA_QUAD_CURVE_TO

Quadratic CurveTo Path Operator.

public const string PATH_DATA_QUAD_CURVE_TO = "Q"

Field Value

string

PATH_DATA_REL_BEARING

Relative Bearing command.

public const string PATH_DATA_REL_BEARING = "b"

Field Value

string

PATH_DATA_REL_CATMULL_CURVE

Relative Catmull-Rom curve command.

public const string PATH_DATA_REL_CATMULL_CURVE = "r"

Field Value

string

PATH_DATA_REL_CURVE_TO

Relative CurveTo Path Operator.

public const string PATH_DATA_REL_CURVE_TO = "c"

Field Value

string

PATH_DATA_REL_CURVE_TO_S

Relative Smooth CurveTo Path Operator.

public const string PATH_DATA_REL_CURVE_TO_S = "s"

Field Value

string

PATH_DATA_REL_ELLIPTICAL_ARC_A

Attribute defining Elliptical arc path operator.

public const string PATH_DATA_REL_ELLIPTICAL_ARC_A = "a"

Field Value

string

PATH_DATA_REL_LINE_TO

Relative LineTo Path Operator.

public const string PATH_DATA_REL_LINE_TO = "l"

Field Value

string

PATH_DATA_REL_LINE_TO_H

Relative horizontal LineTo Path Operator.

public const string PATH_DATA_REL_LINE_TO_H = "h"

Field Value

string

PATH_DATA_REL_LINE_TO_V

Relative vertical LineTo Path operator.

public const string PATH_DATA_REL_LINE_TO_V = "v"

Field Value

string

PATH_DATA_REL_MOVE_TO

Relative MoveTo Path Operator.

public const string PATH_DATA_REL_MOVE_TO = "m"

Field Value

string

PATH_DATA_REL_QUAD_CURVE_TO

Relative Quadratic CurveTo Path Operator.

public const string PATH_DATA_REL_QUAD_CURVE_TO = "q"

Field Value

string

PATH_DATA_REL_SHORTHAND_CURVE_TO

Relative Shorthand/smooth quadratic Bézier curveto.

public const string PATH_DATA_REL_SHORTHAND_CURVE_TO = "t"

Field Value

string

PATH_DATA_SHORTHAND_CURVE_TO

Shorthand/smooth quadratic Bézier curveto.

public const string PATH_DATA_SHORTHAND_CURVE_TO = "T"

Field Value

string

PATTERN_CONTENT_UNITS

Attribute defining the coordinate system for the pattern content.

public const string PATTERN_CONTENT_UNITS = "patternContentUnits"

Field Value

string

PATTERN_TRANSFORM

Attribute defining list of transform definitions for the pattern element.

public const string PATTERN_TRANSFORM = "patternTransform"

Field Value

string

PATTERN_UNITS

Attribute defining the coordinate system for attributes x, y, width , and height in pattern.

public const string PATTERN_UNITS = "patternUnits"

Field Value

string

POINTS

Attribute defining the points of a polyline or polygon.

public const string POINTS = "points"

Field Value

string

PRESERVE_ASPECT_RATIO

Attribute defining how to preserve the aspect ratio when scaling.

public const string PRESERVE_ASPECT_RATIO = "preserveAspectRatio"

Field Value

string

R

Attribute defining the radius of a circle.

public const string R = "r"

Field Value

string

REFX

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

public const string REFX = "refX"

Field Value

string

REFY

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

public const string REFY = "refY"

Field Value

string

RX

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

public const string RX = "rx"

Field Value

string

RY

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

public const string RY = "ry"

Field Value

string

SPREAD_METHOD

Attribute defining the spread method for a color gradient.

public const string SPREAD_METHOD = "spreadMethod"

Field Value

string

STROKE

Attribute defining the stroke color.

public const string STROKE = "stroke"

Field Value

string

STROKE_DASHARRAY

Attribute defining the stroke dash offset.

public const string STROKE_DASHARRAY = "stroke-dasharray"

Field Value

string

STROKE_DASHOFFSET

Attribute defining the stroke dash offset.

public const string STROKE_DASHOFFSET = "stroke-dashoffset"

Field Value

string

STROKE_LINECAP

Attribute defining the stroke linecap.

public const string STROKE_LINECAP = "stroke-linecap"

Field Value

string

STROKE_MITERLIMIT

Attribute defining the stroke miterlimit.

public const string STROKE_MITERLIMIT = "stroke-miterlimit"

Field Value

string

STROKE_OPACITY

Attribute defingin the stroke opacity.

public const string STROKE_OPACITY = "stroke-opacity"

Field Value

string

STROKE_WIDTH

Attribute defining the stroke width.

public const string STROKE_WIDTH = "stroke-width"

Field Value

string

STYLE

Attribute defining the style of an element.

public const string STYLE = "style"

Field Value

string

TEXT_ANCHOR

Attribute defining the text anchor used by the text

public const string TEXT_ANCHOR = "text-anchor"

Field Value

string

TEXT_CONTENT

Attribute defining the text content of a text node.

public const string TEXT_CONTENT = "text_content"

Field Value

string

TRANSFORM

Attribute defining a transformation that needs to be applied.

public const string TRANSFORM = "transform"

Field Value

string

VERSION

Attribute defining version

public const string VERSION = "version"

Field Value

string

VIEWBOX

Attribute defining the viewbox of an element.

public const string VIEWBOX = "viewBox"

Field Value

string

WIDTH

Attribute defining the width of an element.

public const string WIDTH = "width"

Field Value

string

X

Attribute defining the x value of an element.

public const string X = "x"

Field Value

string

X1

Attribute defining the first x coordinate value of a line.

public const string X1 = "x1"

Field Value

string

X2

Attribute defining the second x coordinate value of a line.

public const string X2 = "x2"

Field Value

string

Attribute defining image source.

public const string XLINK_HREF = "xlink:href"

Field Value

string

XMLNS

Attribute defining XML namespace

public const string XMLNS = "xmlns"

Field Value

string

Y

Attribute defining the y value of an element.

public const string Y = "y"

Field Value

string

Y1

Attribute defining the first y coordinate value of a line.

public const string Y1 = "y1"

Field Value

string

Y2

Attribute defining the second y coordinate value of a line.

public const string Y2 = "y2"

Field Value

string