Table of Contents

Class Transform

Namespace
Gsk
Assembly
Gsk-4.0.dll
public sealed class Transform : BoxedRecord, IEquatable<Transform>
Inheritance
Transform
Implements
Inherited Members

Constructors

Transform(TransformOwnedHandle)

public Transform(TransformOwnedHandle handle)

Parameters

handle TransformOwnedHandle

Properties

Handle

public TransformOwnedHandle Handle { get; }

Property Value

TransformOwnedHandle

Methods

Equal(Transform?)

public bool Equal(Transform? second)

Parameters

second Transform

Returns

bool

Equals(Transform?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Transform? other)

Parameters

other Transform

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetCategory()

public TransformCategory GetCategory()

Returns

TransformCategory

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Invert()

public Transform? Invert()

Returns

Transform

Matrix(Matrix)

public Transform Matrix(Matrix matrix)

Parameters

matrix Matrix

Returns

Transform

New()

public static Transform New()

Returns

Transform

Perspective(float)

public Transform Perspective(float depth)

Parameters

depth float

Returns

Transform

Print(String)

public void Print(String @string)

Parameters

string String

Ref()

public Transform? Ref()

Returns

Transform

Rotate(float)

public Transform? Rotate(float angle)

Parameters

angle float

Returns

Transform

Rotate3d(float, Vec3)

public Transform? Rotate3d(float angle, Vec3 axis)

Parameters

angle float
axis Vec3

Returns

Transform

Scale(float, float)

public Transform? Scale(float factorX, float factorY)

Parameters

factorX float
factorY float

Returns

Transform

Scale3d(float, float, float)

public Transform? Scale3d(float factorX, float factorY, float factorZ)

Parameters

factorX float
factorY float
factorZ float

Returns

Transform

Skew(float, float)

[Version("4.6")]
public Transform? Skew(float skewX, float skewY)

Parameters

skewX float
skewY float

Returns

Transform

To2d(out float, out float, out float, out float, out float, out float)

public void To2d(out float outXx, out float outYx, out float outXy, out float outYy, out float outDx, out float outDy)

Parameters

outXx float
outYx float
outXy float
outYy float
outDx float
outDy float

To2dComponents(out float, out float, out float, out float, out float, out float, out float)

[Version("4.6")]
public void To2dComponents(out float outSkewX, out float outSkewY, out float outScaleX, out float outScaleY, out float outAngle, out float outDx, out float outDy)

Parameters

outSkewX float
outSkewY float
outScaleX float
outScaleY float
outAngle float
outDx float
outDy float

ToAffine(out float, out float, out float, out float)

public void ToAffine(out float outScaleX, out float outScaleY, out float outDx, out float outDy)

Parameters

outScaleX float
outScaleY float
outDx float
outDy float

ToString()

public string ToString()

Returns

string

ToTranslate(out float, out float)

public void ToTranslate(out float outDx, out float outDy)

Parameters

outDx float
outDy float

Translate(Point)

public Transform? Translate(Point point)

Parameters

point Point

Returns

Transform

Translate3d(Point3D)

public Transform? Translate3d(Point3D point)

Parameters

point Point3D

Returns

Transform

Unref()

public void Unref()