Class SVGRect

Class SVGRect

Nom dels espais: Aspose.Html.Dom.Svg.DataTypes Assemblea: Aspose.HTML.dll (25.4.0)

Els rectangles es defineixen com un parell de coordenades (x,y) que identifica un valor mínim X, el valor minim Y i una amplada i l’altura, que sol restringir-se a ser no negatius.

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

Inheritance

object DOMObject SVGValueType SVGRect

Implements

INotifyPropertyChanged , IDisposable

Membres heretats

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

La coordinació de l’altura del rectangle, en unitats d’usuari.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERRAugmentat quan el rectangle correspon a un llegit només atribut o quan l’objecte mateix només es llegeix.

Width

La coordinació de l’amplada del rectangle, en unitats d’usuari.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERRAugmentat quan el rectangle correspon a un llegit només atribut o quan l’objecte mateix només es llegeix.

X

La coordinació X del rectangle, en unitats d’usuari.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERRAugmentat quan el rectangle correspon a un llegit només atribut o quan l’objecte mateix només es llegeix.

Y

La coordinació Y del rectangle, en unitats d’usuari.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERRAugmentat quan el rectangle correspon a un llegit només atribut o quan l’objecte mateix només es llegeix.

Methods

ToString()

Retorna un System.String que representa aquesta instància.

public override string ToString()

Returns

string

Un sistema.String que representa aquesta instància.

 Català