Class SVGMatrix

Class SVGMatrix

Tên không gian: Aspose.Html.Dom.Svg.DataTypes Tổng hợp: Aspose.HTML.dll (25.4.0)

Nhiều hoạt động đồ họa của SVG sử dụng matrices 2x3 của hình thức:[a c e][b d f]mà, khi được mở rộng thành một matrix 3x3 cho các mục đích của matrix arithmetic, trở thành:[a c e][b d f][0 0 1]

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

Inheritance

object DOMObject SVGValueType SVGMatrix

Implements

INotifyPropertyChanged , IDisposable

Thành viên thừa kế

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

A

Thành phần A của Matrix.

[DOMName("a")]
public float A { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

B

B thành phần của matrix.

[DOMName("b")]
public float B { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

C

Các thành phần C của Matrix.

[DOMName("c")]
public float C { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

D

D thành phần của matrix.

[DOMName("d")]
public float D { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

E

Các thành phần E của Matrix

[DOMName("e")]
public float E { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

F

Phần F của Matrix.

[DOMName("f")]
public float F { get; set; }

Giá trị bất động sản

float

Exceptions

DOMException

Mã Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Được xây dựng trên một nỗ lực để thay đổi giá trị của một tài sản chỉ đọc.

Methods

Multiply(Thuyết Minh)

Matrix này được multiplied bởi một matrix khác, trả về matrix mới kết quả.

[DOMName("multiply")]
public SVGMatrix Multiply(SVGMatrix secondMatrix)

Parameters

secondMatrix SVGMatrix

Matrix đó là post-multiplied cho matrix này.

Returns

SVGMatrix

Matrix kết quả.

Rotate(Sông)

Post-multiplies một biến đổi xoay trên matrix hiện tại và trả về matrix kết quả.

[DOMName("rotate")]
public SVGMatrix Rotate(float angle)

Parameters

angle float

góc xoay

Returns

SVGMatrix

Matrix kết quả.

Scale(Sông)

Post-multiplies một biến đổi quy mô đồng nhất trên matrix hiện tại và trả về matrix kết quả.

[DOMName("scale")]
public SVGMatrix Scale(float scaleFactor)

Parameters

scaleFactor float

Tỷ lệ quy mô trong cả X và Y.

Returns

SVGMatrix

Matrix kết quả.

ScaleNonUniform(Float , Float)

Post-multiplies một biến đổi quy mô không đồng nhất trên matrix hiện tại và trả về matrix kết quả.

[DOMName("scaleNonUniform")]
public SVGMatrix ScaleNonUniform(float scaleFactorX, float scaleFactorY)

Parameters

scaleFactorX float

Tỷ lệ quy mô trong x.

scaleFactorY float

Kích thước yếu tố trong Y.

Returns

SVGMatrix

Matrix kết quả.

SkewX(Sông)

Post-multiplies một biến đổi skewX trên matrix hiện tại và trả về matrix kết quả.

[DOMName("skewX")]
public SVGMatrix SkewX(float angle)

Parameters

angle float

Skew góc

Returns

SVGMatrix

Matrix kết quả.

Skevy(Sông)

Post-multiplies một biến đổi skewY trên matrix hiện tại và trả về matrix kết quả.

[DOMName("skewY")]
public SVGMatrix SkewY(float angle)

Parameters

angle float

Ngôi góc

Returns

SVGMatrix

Skew góc

ToString()

Trở lại một System.String đại diện cho trường hợp này.

public override string ToString()

Returns

string

Một hệ thống.String đại diện cho trường hợp này.

Translate(Float , Float)

Post-multiplies một chuyển đổi dịch trên matrix hiện tại và trả về matrix kết quả.

[DOMName("translate")]
public SVGMatrix Translate(float x, float y)

Parameters

x float

Khoảng cách để dịch trên x-axis.

y float

Khoảng cách để dịch dọc theo axis y.

Returns

SVGMatrix

Matrix kết quả.

 Tiếng Việt