Table of Contents

Class Shape

Namespace
SVGImage.SVG.Shapes
Assembly
DotNetProjects.SVGImage.dll
public class Shape : ClipArtElement
Inheritance
Shape
Derived
Inherited Members

Constructors

Shape(SVG, List<StyleItem>, Shape)

public Shape(SVG svg, List<StyleItem> attrs, Shape parent)

Parameters

svg SVG
attrs List<StyleItem>
parent Shape

Shape(SVG, XmlNode)

public Shape(SVG svg, XmlNode node)

Parameters

svg SVG
node XmlNode

Shape(SVG, XmlNode, Shape)

public Shape(SVG svg, XmlNode node, Shape parent)

Parameters

svg SVG
node XmlNode
parent Shape

Fields

m_fill

protected Fill m_fill

Field Value

Fill

m_localStyle

protected string m_localStyle

Field Value

string

m_stroke

protected Stroke m_stroke

Field Value

Stroke

m_textstyle

protected TextStyle m_textstyle

Field Value

TextStyle

Properties

Display

public bool Display { get; }

Property Value

bool

Fill

public Fill Fill { get; set; }

Property Value

Fill

Opacity

public double Opacity { get; set; }

Property Value

double

PaintServerKey

public virtual string PaintServerKey { get; set; }

Property Value

string

Parent

public Shape Parent { get; set; }

Property Value

Shape

RequiredExtensions

public string RequiredExtensions { get; set; }

Property Value

string

RequiredFeatures

public string RequiredFeatures { get; set; }

Property Value

string

Stroke

public Stroke Stroke { get; set; }

Property Value

Stroke

Svg

public SVG Svg { get; }

Property Value

SVG

TextStyle

public virtual TextStyle TextStyle { get; }

Property Value

TextStyle

Transform

public virtual Transform Transform { get; }

Property Value

Transform

Visibility

public Visibility Visibility { get; set; }

Property Value

Visibility

Methods

DefaultFill()

protected virtual Fill DefaultFill()

Returns

Fill

DefaultStroke()

protected virtual Stroke DefaultStroke()

Returns

Stroke

GetFill(SVG)

protected Fill GetFill(SVG svg)

Parameters

svg SVG

Returns

Fill

GetParentFill()

protected virtual Fill GetParentFill()

Returns

Fill

GetRoot()

public Shape GetRoot()

Returns

Shape

GetTextStyle(SVG)

protected TextStyle GetTextStyle(SVG svg)

Parameters

svg SVG

Returns

TextStyle

Parse(SVG, string, string)

protected virtual void Parse(SVG svg, string name, string value)

Parameters

svg SVG
name string
value string

ParseAtStart(SVG, XmlNode)

protected virtual void ParseAtStart(SVG svg, XmlNode node)

Parameters

svg SVG
node XmlNode

ParseLocalStyle(SVG)

protected virtual void ParseLocalStyle(SVG svg)

Parameters

svg SVG

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.