[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgElement

SvgElement Class

The base class for all SVG elements.

Namespace: GrapeCity.Documents.Svg
Assembly: DS.Documents.Imaging.dll
Syntax
public abstract class SvgElement
Public MustInherit Class SvgElement

Constructors

Name Description
SvgElement(SvgElementType)

Initializes a new instance of the SvgElement class.

Properties

Name Description
Children

Gets the collection of child elements.

Class

Gets or sets a string containing space separated class names of this element.

Clip

Gets or sets a clipping rectangle.

ClipPath

Gets or sets a reference for the 'clip-path' property.

ClipRule

Gets or sets a value indicating the algorithm which is to be used to determine whether a given point is inside a shape for a clipping region created with a graphics element.

Color

Gets or sets an SvgColor providing a potential indirect value, currentColor, for other properties.

CustomAttributes

Gets or sets the list of unknown or unsupported attributes.

Display

Gets or sets a value specifying whether the element (and all its descendents) is a part of the rendering tree.

Document

Gets the owner GcSvgDocument.

ElementName

Gets the SVG or non-SVG name of the current element.

ElementType

Gets the type of the current SVG element.

Fill

Gets or sets an SvgPaint for the interior of the given graphical element.

FillOpacity

Gets or sets a value specifying the opacity of the painting operation used to fill the current object.

FillRule

Gets or sets a value specifying which algorithm is to be used to determine what parts of the canvas are included inside the shape.

FontFamily

Gets or sets a value specifying the font family.

FontKerning

Gets or sets a value controlling the contextual adjustment of inter-glyph spacing.

FontSize

Gets or sets a scale factor applied to the EM unit of the font.

FontSizeAdjust

Gets or sets a value that is equal to the x-height of a font divided by the font size.

float.NaN corresponds to 'none' value of the attribute.

FontStretch

Gets or sets a value specifying the width of the font, selects a normal, condensed, or expanded face from a font family.

FontStyle

Gets or sets a value selecting normal, italic or oblique font faces.

FontVariantCaps

Gets or sets a value selecting alternate glyphs used for small or petite capitals or for titling.

FontVariantEastAsian

Gets or sets a value that allows control of glyph substitution and sizing in East Asian text.

FontVariantLigatures

Gets or sets a value that enables or disables ligatures and contextual forms.

FontVariantNumeric

Gets or sets a value that specifies control over numerical forms.

FontVariantPosition

Gets or sets a value that enables or disables typographic subscript and superscript glyphs.

FontWeight

Gets or sets a value specifying the weight of glyphs in the font, their degree of blackness or stroke thickness.

HasChildren

Gets a value indicating whether the current element has any children. Using this property rather than checking for Children.Count being greater than zero improves performance and reduces memory usage.

ID

Gets or sets the ID of this element.

ImageRendering

Gets or sets a hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing.

Lang

Gets or sets the primary language for the element's contents and for any of the element's attributes that contain text.

LetterSpacing

Gets or sets a value specifying additional spacing between adjacent typographic character units.

Marker

Gets or sets a value for the 'marker-start', 'marker-mid' and 'marker-end' properties.

MarkerEnd

Gets or sets a value for the 'marker-end' property.

MarkerMid

Gets or sets a value for the 'marker-mid' property.

MarkerStart

Gets or sets a value for the 'marker-start' property.

Namespace

Gets the namespace of the current element.

Opacity

Gets or sets a value specifying how opaque a given graphical element or container element will be when it is painted to the canvas.

Overflow

Gets or sets a value specifying whether content of a block container element is clipped when it overflows the element's box.

PaintOrder

Gets or sets a value specifying the order of the paint operations that shapes are rendered with: their fill, their stroke and any markers they might have.

Parent

Gets the parent SvgElement.

ShapeRendering

Gets or sets a hint to the implementation about what tradeoffs to make as it renders vector graphics elements.

Stroke

Gets or sets an SvgPaint that paints along the outline of the given graphical element.

StrokeDashArray

Gets or sets a dashing pattern to use.

StrokeDashOffset

Gets or sets a value specifying the distance into the repeated dash pattern to start the stroke dashing at the beginning of the path.

StrokeLineCap

Gets or sets a value specifying the shape to be used at the end of open subpaths when they are stroked.

StrokeLineJoin

Gets or sets a value specifying the shape to be used at the corners of paths or basic shapes when they are stroked.

StrokeMiterLimit

Gets or sets a limit on the extent of the line join.

StrokeOpacity

Gets or sets a value specifying the opacity of the painting operation used to stroke the current object.

StrokeWidth

Gets or sets the width of the stroke on the current object.

SystemLanguage

Gets or sets the list of language tags, as defined in BCP 47.

Tag

Gets or sets the object with arbitrary data.

TextAnchor

Gets or sets a value specifying how to align a string of pre-formatted text.

TextDecorationLine

Gets or sets the position of text decoration lines, if any is added to the element.

TextDecorationStyle

Gets or sets the style of the line(s) drawn for text decoration.

TextDirection

Gets or sets the inline base direction or directionality of any bidi paragraph.

TextOrientation

Gets or sets the orientation of text in vertical typographic modes.

TextRendering

Gets or sets a hint to the implementation about what tradeoffs to make as it renders text.

Transform

Gets or sets the list of transform functions.

Visibility

Gets or sets a value specifying whether the boxes generated by an element are rendered.

WordSpacing

Gets or sets a value specifying additional spacing between "words".

WritingMode

Gets or sets a value specifying whether lines of text are laid out horizontally or vertically and the direction in which blocks progress.

XmlSpace

Gets or sets a value specifying the handling of white-space characters.