Table of Contents

Class SpatialTransform

Namespace
FellowOakDicom.Imaging
Assembly
fo-dicom.core.dll

Representation of a spatial 2D transform.

public class SpatialTransform
Inheritance
SpatialTransform
Inherited Members
Extension Methods

Constructors

SpatialTransform()

Initializes an instance of SpatialTransform.

public SpatialTransform()

Properties

FlipX

Gets or sets whether to flip in X direction.

public bool FlipX { get; set; }

Property Value

bool

FlipY

Gets or sets whether to flip in Y direction.

public bool FlipY { get; set; }

Property Value

bool

IsTransformed

Gets whether the transform is set or reset.

public bool IsTransformed { get; }

Property Value

bool

Pan

Gets or sets the pan of the transform.

public Point2 Pan { get; set; }

Property Value

Point2

Rotation

Gets or sets the rotation of the transform.

public int Rotation { get; set; }

Property Value

int

Scale

Gets or sets the scale of the transform.

public double Scale { get; set; }

Property Value

double

Methods

Reset()

Reset the transform.

public void Reset()

Rotate(int)

Add further rotation to the transform.

public void Rotate(int angle)

Parameters

angle int

Angle with which to rotate.