Class SVGRect

Class SVGRect

Namespace: Aspose.Html.Dom.Svg.DataTypes
Assembly: Aspose.HTML.dll (25.4.0)

Represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.

[ComVisible(true)]
[DOMObject]
[DOMName("SVGRect")]
public class SVGRect : SVGValueType, INotifyPropertyChanged, IDisposable

Inheritance

object DOMObject SVGValueType SVGRect

Implements

INotifyPropertyChanged , IDisposable

Inherited Members

SVGValueType.Dispose() , SVGValueType.Dispose(bool) , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Height

The Height coordinate of the rectangle, in user units.

[DOMName("height")]
public float Height { get; set; }

Property Value

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR Raised when the rectangle corresponds to a read only attribute or when the object itself is read only.

Width

The Width coordinate of the rectangle, in user units.

[DOMName("width")]
public float Width { get; set; }

Property Value

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR Raised when the rectangle corresponds to a read only attribute or when the object itself is read only.

X

The X coordinate of the rectangle, in user units.

[DOMName("x")]
public float X { get; set; }

Property Value

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR Raised when the rectangle corresponds to a read only attribute or when the object itself is read only.

Y

The Y coordinate of the rectangle, in user units.

[DOMName("y")]
public float Y { get; set; }

Property Value

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR Raised when the rectangle corresponds to a read only attribute or when the object itself is read only.

Methods

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

string

A System.String that represents this instance.

 English