Class SVGPoint
Le nom : Aspose.Html.Dom.Svg.DataTypes Assemblaggio: Aspose.HTML.dll (25.4.0)
Beaucoup des interfaces SVG DOM se réfèrent à des objets de classe SVD. Un SVC est un couple de coordonnées (x, y). Lorsqu’il est utilisé dans les opérations de matrice, un SVK est traité comme un vecteur de la forme:[ x ][ Y ][1]Si un objet SVGRect est désigné comme seulement lu, alors essayer d’attribuer à l’un de ses attributs entraînera une exception qui sera jetée.
[ComVisible(true)]
[DOMObject]
[DOMName("SVGPoint")]
public class SVGPoint : SVGValueType, INotifyPropertyChanged, IDisposable
Inheritance
object ← DOMObject ← SVGValueType ← SVGPoint
Implements
INotifyPropertyChanged , IDisposable
I membri ereditari
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
Les coordonnées X.
[DOMName("x")]
public float X { get; set; }
Valore di proprietà
Exceptions
Codice Aspose.Html.Dom.DomException.NO_MODIFICATION_ALLOWED_ERR.Réduit si l’objet SVGPoint est uniquement lu ou correspond à un attribut DOM qui n’est que lu.
Y
La coordonnée Y.
[DOMName("y")]
public float Y { get; set; }
Valore di proprietà
Exceptions
Codice Aspose.Html.Dom.DomException.NO_MODIFICATION_ALLOWED_ERR.Réduit si l’objet SVGPoint est uniquement lu ou correspond à un attribut DOM qui n’est que lu.
Methods
MatrixTransform(Téléchargement)
Applique une transformation de matrice 2x3 sur cet objet SVGPoint et retourne un nouvel objet, transformé :Nouveau point = matrix * ce point
[DOMName("matrixTransform")]
public SVGPoint MatrixTransform(SVGMatrix matrix)
Parameters
matrix
SVGMatrix
la matrice qui doit être appliquée à cet objet SVGPoint.
Returns
Un nouvel objet SVGPoint.
ToString()
Ritorna un System.String che rappresenta questa instanza.
public override string ToString()
Returns
Un sistema.String che rappresenta questa instanza.