Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Class SvgNames

This class contains string constants for all the names for SVG elements and attributes

Inheritance
object
SvgNames
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenSvg
Assembly: OpenSvg.dll
Syntax
public static class SvgNames

Fields

| Edit this page View Source

Circle

Circle element

Declaration
public const string Circle = "circle"
Field Value
Type Description
string
Remarks

Defines a circle in SVG.

| Edit this page View Source

CircleX

cx attribute

Declaration
public const string CircleX = "cx"
Field Value
Type Description
string
Remarks

The x-axis coordinate of the center of the circle.

| Edit this page View Source

CircleY

cy attribute

Declaration
public const string CircleY = "cy"
Field Value
Type Description
string
Remarks

The y-axis coordinate of the center of the circle.

| Edit this page View Source

D

D attribute

Declaration
public const string D = "d"
Field Value
Type Description
string
Remarks

Defines a path data for SVG elements.

| Edit this page View Source

DefaultFontName

Default Font in SVG if no font is specified

Declaration
public const string DefaultFontName = "Times New Roman"
Field Value
Type Description
string
| Edit this page View Source

DefaultFontSize

Default Font Size in SVG if no font size is specified

Declaration
public const float DefaultFontSize = 16
Field Value
Type Description
float
| Edit this page View Source

Defs

Defs element

Declaration
public const string Defs = "defs"
Field Value
Type Description
string
Remarks

Defines a section in which definitions for SVG elements are stored.

| Edit this page View Source

DominantBaseline

Dominant baseline attribute

Declaration
public const string DominantBaseline = "dominant-baseline"
Field Value
Type Description
string
Remarks

Defines a dominant baseline for SVG text elements.

| Edit this page View Source

Fill

Fill attribute

Declaration
public const string Fill = "fill"
Field Value
Type Description
string
Remarks

Defines a fill color for SVG elements.

| Edit this page View Source

FontFaceRule

String for CSS font-face rule

Declaration
public const string FontFaceRule = "@font-face"
Field Value
Type Description
string
| Edit this page View Source

FontName

Font family attribute

Declaration
public const string FontName = "font-family"
Field Value
Type Description
string
Remarks

Defines a font family for SVG text elements.

| Edit this page View Source

FontSize

Font size attribute

Declaration
public const string FontSize = "font-size"
Field Value
Type Description
string
Remarks

Defines a font size for SVG text elements.

| Edit this page View Source

Format

Attribute for CSS font-face rule for font format

Declaration
public const string Format = "format"
Field Value
Type Description
string
| Edit this page View Source

Group

Group element

Declaration
public const string Group = "g"
Field Value
Type Description
string
Remarks

Defines a group of SVG elements.

| Edit this page View Source

Height

Height attribute

Declaration
public const string Height = "height"
Field Value
Type Description
string
Remarks

Defines a height for SVG elements.

| Edit this page View Source

ID

ID attribute

Declaration
public const string ID = "id"
Field Value
Type Description
string
Remarks

Defines an identifier for SVG elements.

| Edit this page View Source

Line

Line element

Declaration
public const string Line = "line"
Field Value
Type Description
string
Remarks

Defines a line in SVG.

| Edit this page View Source

Matrix

Matrix attribute value

Declaration
public const string Matrix = "matrix"
Field Value
Type Description
string
| Edit this page View Source

OpenType

Value for Format for OTF fonts

Declaration
public const string OpenType = "opentype"
Field Value
Type Description
string
| Edit this page View Source

Path

Path element

Declaration
public const string Path = "path"
Field Value
Type Description
string
Remarks

Defines a path in SVG.

| Edit this page View Source

Points

Points attribute

Declaration
public const string Points = "points"
Field Value
Type Description
string
Remarks

Defines a set of points for SVG polygon elements.

| Edit this page View Source

Polygon

Polygon element

Declaration
public const string Polygon = "polygon"
Field Value
Type Description
string
Remarks

Defines a polygon in SVG.

| Edit this page View Source

Polyline

Polyline element

Declaration
public const string Polyline = "polyline"
Field Value
Type Description
string
Remarks

Defines a polyline in SVG.

| Edit this page View Source

PreserveAspectRatio

Represents the preserveAspectRatio attribute in SVG.

Declaration
public const string PreserveAspectRatio = "preserveAspectRatio"
Field Value
Type Description
string
Remarks

The preserveAspectRatio attribute defines how an element is scaled, stretched, or positioned to fit within a specified viewport.

| Edit this page View Source

Radius

r attribute

Declaration
public const string Radius = "r"
Field Value
Type Description
string
Remarks

The radius of the circle. A value lower or equal to zero disables rendering of the circle.

| Edit this page View Source

Rect

Rect element

Declaration
public const string Rect = "rect"
Field Value
Type Description
string
Remarks

Defines a rectangle in SVG.

| Edit this page View Source

Rotate

Rotate attribute value

Declaration
public const string Rotate = "rotate"
Field Value
Type Description
string
| Edit this page View Source

Rx

Rx attribute

Declaration
public const string Rx = "rx"
Field Value
Type Description
string
Remarks

Defines a horizontal radius for SVG ellipse elements.

| Edit this page View Source

Ry

Ry attribute

Declaration
public const string Ry = "ry"
Field Value
Type Description
string
Remarks

Defines a vertical radius for SVG ellipse elements.

| Edit this page View Source

Scale

Scale attribute value

Declaration
public const string Scale = "scale"
Field Value
Type Description
string
| Edit this page View Source

SkewX

SkewX attribute value

Declaration
public const string SkewX = "skewX"
Field Value
Type Description
string
| Edit this page View Source

SkewY

SkewY attribute value

Declaration
public const string SkewY = "skewY"
Field Value
Type Description
string
| Edit this page View Source

Stroke

Stroke attribute

Declaration
public const string Stroke = "stroke"
Field Value
Type Description
string
Remarks

Defines a stroke color for SVG elements.

| Edit this page View Source

StrokeWidth

Stroke width attribute

Declaration
public const string StrokeWidth = "stroke-width"
Field Value
Type Description
string
Remarks

Defines a stroke width for SVG elements.

| Edit this page View Source

Style

Style element

Declaration
public const string Style = "style"
Field Value
Type Description
string
Remarks

Defines a style for SVG elements.

| Edit this page View Source

Svg

SVG element

Declaration
public const string Svg = "svg"
Field Value
Type Description
string
Remarks

Defines an SVG document.

| Edit this page View Source

SvgNamespace

Namespace for SVG

Declaration
public const string SvgNamespace = "http://www.w3.org/2000/svg"
Field Value
Type Description
string
| Edit this page View Source

Text

Text element

Declaration
public const string Text = "text"
Field Value
Type Description
string
Remarks

Defines a text in SVG.

| Edit this page View Source

TextAnchor

Text anchor attribute

Declaration
public const string TextAnchor = "text-anchor"
Field Value
Type Description
string
Remarks

Defines a text anchor for SVG text elements.

| Edit this page View Source

TextCss

CSS text attribute value

Declaration
public const string TextCss = "text/css"
Field Value
Type Description
string
| Edit this page View Source

Transform

Transformation attribute

Declaration
public const string Transform = "transform"
Field Value
Type Description
string
Remarks

Defines a transformation for SVG elements.

| Edit this page View Source

Translate

Translation attribute value

Declaration
public const string Translate = "translate"
Field Value
Type Description
string
| Edit this page View Source

Transparent

String for transparent color

Declaration
public const string Transparent = "none"
Field Value
Type Description
string
| Edit this page View Source

TrueType

Value for Format for TTF fonts

Declaration
public const string TrueType = "truetype"
Field Value
Type Description
string
| Edit this page View Source

Type

Type attribute for Style element

Declaration
public const string Type = "type"
Field Value
Type Description
string
Remarks

Defines a type for SVG style elements.

| Edit this page View Source

Unsupported

Element for unsupported SVG elements

Declaration
public const string Unsupported = "unsupported"
Field Value
Type Description
string
| Edit this page View Source

ViewBox

Represents the viewBox attribute in SVG.

Declaration
public const string ViewBox = "viewBox"
Field Value
Type Description
string
Remarks

The viewBox attribute defines the position and dimensions, in user space, of an SVG viewport.

| Edit this page View Source

Width

Width attribute

Declaration
public const string Width = "width"
Field Value
Type Description
string
Remarks

Defines a width for SVG elements.

| Edit this page View Source

X

X attribute

Declaration
public const string X = "x"
Field Value
Type Description
string
Remarks

Defines a horizontal position for SVG elements.

| Edit this page View Source

X1

X1 attribute

Declaration
public const string X1 = "x1"
Field Value
Type Description
string
Remarks

Defines a horizontal position for SVG line elements.

| Edit this page View Source

X2

X2 attribute

Declaration
public const string X2 = "x2"
Field Value
Type Description
string
Remarks

Defines a horizontal position for SVG line elements.

| Edit this page View Source

Y

Y attribute

Declaration
public const string Y = "y"
Field Value
Type Description
string
Remarks

Defines a vertical position for SVG elements.

| Edit this page View Source

Y1

Y1 attribute

Declaration
public const string Y1 = "y1"
Field Value
Type Description
string
Remarks

Defines a vertical position for SVG line elements.

| Edit this page View Source

Y2

Y2 attribute

Declaration
public const string Y2 = "y2"
Field Value
Type Description
string
Remarks

Defines a vertical position for SVG line elements.