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
FlipY
Gets or sets whether to flip in Y direction.
public bool FlipY { get; set; }
Property Value
IsTransformed
Gets whether the transform is set or reset.
public bool IsTransformed { get; }
Property Value
Pan
Gets or sets the pan of the transform.
public Point2 Pan { get; set; }
Property Value
Rotation
Gets or sets the rotation of the transform.
public int Rotation { get; set; }
Property Value
Scale
Gets or sets the scale of the transform.
public double Scale { get; set; }
Property Value
Methods
Reset()
Reset the transform.
public void Reset()
Rotate(int)
Add further rotation to the transform.
public void Rotate(int angle)
Parameters
angle
intAngle with which to rotate.