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

Namespace OpenSvg.Attributes

Classes

AbsoluteOrRatioAttr

Represents an attribute that can hold either an absolute or a ratio value.

Attr<T>

Represents an attribute of type T.

ColorAttr

Represents an attribute for color values.

FloatAttr

Represents an attribute for floating-point values.

PathAttr

Represents an attribute for path data, represented as a Path class.

PolygonAttr

Represents an attribute for setting a point list as a Polygon for an SVG element.

PolylineAttr

Represents an attribute for setting a point list as a Polyline for an SVG element.

PreserveAspectRatioAttr

Represents an attribute for setting 'preserveAspectRatio' attribute values for an SVG document.

StringAttr

Represents an attribute for string values.

TransformAttr

Represents an attribute for transform data. A transform is represented as a Transform class.

ViewBoxAttr

Represents an attribute for setting the viewbox for an SVG document.

Structs

AspectRatio

Represents the 'preserveAspectRatio' attribute value in SVG. Encapsulates the alignment and meet-or-slice settings.

Interfaces

IAttr

Defines a common interface for SVG attributes.

IHasElementContent

Defines an interface for elements that can contain element data.

Enums

AspectRatioAlign

Specifies the alignment part of the 'preserveAspectRatio' attribute in SVG. Determines how the SVG content is aligned within its viewport.

AspectRatioMeetOrSlice

Specifies the 'meet or slice' part of the 'preserveAspectRatio' attribute in SVG. Determines how the SVG content is scaled within its viewport.