[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.PerspectiveTransform3D

Class PerspectiveTransform3D

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Rotates the image in 3 dimensions as if viewed from a distance.

public class PerspectiveTransform3D : Effect, IDisposable, IUnknown
Inheritance
object
PerspectiveTransform3D
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PerspectiveTransform3D(IntPtr)

Initializes a new instance of the PerspectiveTransform3D class.

public PerspectiveTransform3D(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

BorderMode

The border mode.

public BorderMode BorderMode { get; set; }

Property Value

BorderMode

Depth

The perspective depth.

public float Depth { get; set; }

Property Value

float

GlobalOffset

The transformation global offset.

public Vector3 GlobalOffset { get; set; }

Property Value

Vector3

InterpolationMode

Image interpolation mode.

public PerspectiveTransform3DInteroplationMode InterpolationMode { get; set; }

Property Value

PerspectiveTransform3DInteroplationMode

LocalOffset

The transformation local offset.

public Vector3 LocalOffset { get; set; }

Property Value

Vector3

PerspectiveOrigin

The perspective origin.

public Vector2 PerspectiveOrigin { get; set; }

Property Value

Vector2

Rotation

The transformation rotation.

public Vector3 Rotation { get; set; }

Property Value

Vector3

RotationOrigin

The transformation rotation origin.

public Vector3 RotationOrigin { get; set; }

Property Value

Vector3

Methods

Create(DeviceContext)

Creates a new instance of the PerspectiveTransform3D class.

public static PerspectiveTransform3D Create(DeviceContext context)

Parameters

context DeviceContext

Returns

PerspectiveTransform3D