Class SpatialTransform
Representation of a spatial 2D transform.
Inherited Members
Namespace: Dicom.Imaging
Assembly: cs.temp.dll.dll
Syntax
public class SpatialTransform
  Constructors
SpatialTransform()
Initializes an instance of SpatialTransform.
Declaration
public SpatialTransform()
  Properties
FlipX
Gets or sets whether to flip in X direction.
Declaration
public bool FlipX { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
FlipY
Gets or sets whether to flip in Y direction.
Declaration
public bool FlipY { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
IsTransformed
Gets whether the transform is set or reset.
Declaration
public bool IsTransformed { get; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
Pan
Gets or sets the pan of the transform.
Declaration
public Point2 Pan { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Point2 | 
Rotation
Gets or sets the rotation of the transform.
Declaration
public int Rotation { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
Scale
Gets or sets the scale of the transform.
Declaration
public double Scale { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Double | 
Methods
Reset()
Reset the transform.
Declaration
public void Reset()
  Rotate(Int32)
Add further rotation to the transform.
Declaration
public void Rotate(int angle)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | angle | Angle with which to rotate.  |