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

Class SvgRectangleAsRect

Inheritance
object
SvgElement
SvgVisual
SvgRectangleAsRect
Implements
IXmlSerializable
IEquatable<SvgElement>
Inherited Members
SvgVisual.fillColor
SvgVisual.strokeColor
SvgVisual.strokeWidth
SvgVisual.transform
SvgVisual.FillColor
SvgVisual.StrokeColor
SvgVisual.StrokeWidth
SvgVisual.Transform
SvgVisual.DrawConfig
SvgVisual.ConvexHull
SvgVisual.BoundingBox
SvgVisual.AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?)
SvgElement.id
SvgElement.ID
SvgElement.RootDocument
SvgElement.Root
SvgElement.Parent
SvgElement.ViewPort
SvgElement.ViewPortWidth
SvgElement.ViewPortHeight
SvgElement.GetSchema()
SvgElement.WriteXml(XmlWriter)
SvgElement.ReadXml(XmlReader)
SvgElement.ToSvgGroup()
SvgElement.ToSvgDocument()
SvgElement.Attributes()
SvgElement.Equals(object)
SvgElement.Equals(SvgElement)
SvgElement.InformedEquals(SvgElement)
SvgElement.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenSvg.SvgNodes
Assembly: OpenSvg.dll
Syntax
public class SvgRectangleAsRect : SvgVisual, IXmlSerializable, IEquatable<SvgElement>

Fields

| Edit this page View Source

cornerRadiusX

Declaration
protected readonly FloatAttr cornerRadiusX
Field Value
Type Description
FloatAttr
| Edit this page View Source

cornerRadiusY

Declaration
protected readonly FloatAttr cornerRadiusY
Field Value
Type Description
FloatAttr
| Edit this page View Source

definedHeight

Declaration
protected readonly AbsoluteOrRatioAttr definedHeight
Field Value
Type Description
AbsoluteOrRatioAttr
| Edit this page View Source

definedWidth

Declaration
protected readonly AbsoluteOrRatioAttr definedWidth
Field Value
Type Description
AbsoluteOrRatioAttr
| Edit this page View Source

x

Declaration
protected readonly FloatAttr x
Field Value
Type Description
FloatAttr
| Edit this page View Source

y

Declaration
protected readonly FloatAttr y
Field Value
Type Description
FloatAttr

Properties

| Edit this page View Source

BottomRight

Declaration
public Vector2 BottomRight { get; }
Property Value
Type Description
Vector2
| Edit this page View Source

CornerRadiusX

Declaration
public float CornerRadiusX { get; set; }
Property Value
Type Description
float
| Edit this page View Source

CornerRadiusY

Declaration
public float CornerRadiusY { get; set; }
Property Value
Type Description
float
| Edit this page View Source

DefinedHeight

Declaration
public AbsoluteOrRatio DefinedHeight { get; set; }
Property Value
Type Description
AbsoluteOrRatio
| Edit this page View Source

DefinedHeightAbsolute

Declaration
public float DefinedHeightAbsolute { get; }
Property Value
Type Description
float
| Edit this page View Source

DefinedWidth

Declaration
public AbsoluteOrRatio DefinedWidth { get; set; }
Property Value
Type Description
AbsoluteOrRatio
| Edit this page View Source

DefinedWidthAbsolute

Declaration
public float DefinedWidthAbsolute { get; }
Property Value
Type Description
float
| Edit this page View Source

RectangleConfig

Declaration
public RectangleConfig RectangleConfig { get; set; }
Property Value
Type Description
RectangleConfig
| Edit this page View Source

SvgName

Gets or sets the name of the SVG element.

Declaration
public override string SvgName { get; }
Property Value
Type Description
string
Overrides
SvgElement.SvgName
| Edit this page View Source

TopLeft

Declaration
public Vector2 TopLeft { get; }
Property Value
Type Description
Vector2
| Edit this page View Source

X

Declaration
public float X { get; set; }
Property Value
Type Description
float
| Edit this page View Source

Y

Declaration
public float Y { get; set; }
Property Value
Type Description
float

Methods

| Edit this page View Source

ComputeConvexHull()

Protected method to compute the non-transformed convex hull of this SvgVisual element.

Declaration
protected override ConvexHull ComputeConvexHull()
Returns
Type Description
ConvexHull
Overrides
SvgVisual.ComputeConvexHull()

Implements

IXmlSerializable
IEquatable<T>