Class SVGPoint

Class SVGPoint

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

Moltes de les interfícies SVG DOM es refereixen a objectes de classe SVB. Un SVC és un parell de coordenades (x, y). Quan s’utilitza en operacions de matriu, un SVD es tracta com un vector de la forma:[ X ]i a)[1]Si un objecte SVGRect és designat com a llegit únicament, llavors la intenció d’assignar a un dels seus atributs resultarà en una excepció.

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

Inheritance

object DOMObject SVGValueType SVGPoint

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

X

La coordinació X.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERR.Augmentat si l’objecte SVGPoint només es llegeix, o correspon a un atribut DOM que només és llegit.

Y

i la coordinació.

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

Valor de la propietat

float

Exceptions

DOMException

Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERR.Augmentat si l’objecte SVGPoint només es llegeix, o correspon a un atribut DOM que només és llegit.

Methods

MatrixTransform(Tècnic)

Aplica una transformació de matriu 2x3 a aquest objecte SVGPoint i torna un nou, transformat Object SVDPoint:Nou punt = matriu * aquest punt

[DOMName("matrixTransform")]
public SVGPoint MatrixTransform(SVGMatrix matrix)

Parameters

matrix SVGMatrix

matriu que s’ha d’aplicar a aquest objecte SVGPoint.

Returns

SVGPoint

Un nou objecte SVGPoint.

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à