iText 8.0.5 API
|
Public Member Functions |
|
AffineTransform (iText.Kernel.Geom.AffineTransform t) | |
AffineTransform (double m00, double m10, double m01, double m11, double m02, double m12) | |
AffineTransform (float[] matrix) | |
AffineTransform (double[] matrix) | |
virtual int | GetTransformType () |
Method returns type of affine transformation. More... |
|
virtual double | GetScaleX () |
virtual double | GetScaleY () |
virtual double | GetShearX () |
virtual double | GetShearY () |
virtual double | GetTranslateX () |
virtual double | GetTranslateY () |
virtual bool | IsIdentity () |
virtual void | GetMatrix (float[] matrix) |
virtual void | GetMatrix (double[] matrix) |
virtual double | GetDeterminant () |
virtual void | SetTransform (float m00, float m10, float m01, float m11, float m02, float m12) |
virtual void | SetTransform (double m00, double m10, double m01, double m11, double m02, double m12) |
virtual void | SetTransform (iText.Kernel.Geom.AffineTransform t) |
virtual void | SetToIdentity () |
virtual void | SetToTranslation (double mx, double my) |
virtual void | SetToScale (double scx, double scy) |
virtual void | SetToShear (double shx, double shy) |
virtual void | SetToRotation (double angle) |
Set this affine transformation to represent a rotation over the passed angle More... |
|
virtual void | SetToRotation (double angle, double px, double py) |
Set this affine transformation to represent a rotation over the passed angle, using the passed point as the center of rotation More... |
|
virtual void | Translate (double mx, double my) |
virtual void | Scale (double scx, double scy) |
virtual void | Shear (double shx, double shy) |
virtual void | Rotate (double angle) |
Add a counter-clockwise rotation to this transformation More... |
|
virtual void | Rotate (double angle, double px, double py) |
Add a counter-clockwise rotation to this transformation, using the passed point as the center of rotation More... |
|
virtual void | Concatenate (iText.Kernel.Geom.AffineTransform t) |
virtual void | PreConcatenate (iText.Kernel.Geom.AffineTransform t) |
virtual iText.Kernel.Geom.AffineTransform | CreateInverse () |
virtual Point | Transform (Point src, Point dst) |
virtual void | Transform (Point[] src, int srcOff, Point[] dst, int dstOff, int length) |
virtual void | Transform (double[] src, int srcOff, double[] dst, int dstOff, int length) |
virtual void | Transform (float[] src, int srcOff, float[] dst, int dstOff, int length) |
virtual void | Transform (float[] src, int srcOff, double[] dst, int dstOff, int length) |
virtual void | Transform (double[] src, int srcOff, float[] dst, int dstOff, int length) |
virtual Point | DeltaTransform (Point src, Point dst) |
virtual void | DeltaTransform (double[] src, int srcOff, double[] dst, int dstOff, int length) |
virtual Point | InverseTransform (Point src, Point dst) |
virtual void | InverseTransform (double[] src, int srcOff, double[] dst, int dstOff, int length) |
virtual void | InverseTransform (float[] src, int srcOff, float[] dst, int dstOff, int length) |
virtual iText.Kernel.Geom.AffineTransform | Clone () |
Creates a "deep copy" of this AffineTransform, meaning the object returned by this method will be independent of the object being cloned. More... |
|
override bool | Equals (Object o) |
override int | GetHashCode () |
Static Public Member Functions |
|
static iText.Kernel.Geom.AffineTransform | GetTranslateInstance (double mx, double my) |
static iText.Kernel.Geom.AffineTransform | GetScaleInstance (double scx, double scY) |
static iText.Kernel.Geom.AffineTransform | GetShearInstance (double shx, double shy) |
static iText.Kernel.Geom.AffineTransform | GetRotateInstance (double angle) |
Get an affine transformation representing a counter-clockwise rotation over the passed angle More... |
|
static iText.Kernel.Geom.AffineTransform | GetRotateInstance (double angle, double x, double y) |
Get an affine transformation representing a counter-clockwise rotation over the passed angle, using the passed point as the center of rotation More... |
|
Static Public Attributes |
|
const int | TYPE_IDENTITY = 0 |
The type of affine transformation. More... |
|
const int | TYPE_TRANSLATION = 1 |
The type of affine transformation. More... |
|
const int | TYPE_UNIFORM_SCALE = 2 |
The type of affine transformation. More... |
|
const int | TYPE_GENERAL_SCALE = 4 |
The type of affine transformation. More... |
|
const int | TYPE_QUADRANT_ROTATION = 8 |
The type of affine transformation. More... |
|
const int | TYPE_GENERAL_ROTATION = 16 |
The type of affine transformation. More... |
|
const int | TYPE_GENERAL_TRANSFORM = 32 |
The type of affine transformation. More... |
|
const int | TYPE_FLIP = 64 |
The type of affine transformation. More... |
|
const int | TYPE_MASK_SCALE = TYPE_UNIFORM_SCALE | TYPE_GENERAL_SCALE |
The type of affine transformation. More... |
|
const int | TYPE_MASK_ROTATION = TYPE_QUADRANT_ROTATION | TYPE_GENERAL_ROTATION |
The type of affine transformation. More... |
|
|
inlinevirtual |
Creates a "deep copy" of this AffineTransform, meaning the object returned by this method will be independent of the object being cloned.
|
inlinestatic |
Get an affine transformation representing a counter-clockwise rotation over the passed angle
angle | angle in radians to rotate over |
AffineTransform representing the rotation
|
inlinestatic |
Get an affine transformation representing a counter-clockwise rotation over the passed angle, using the passed point as the center of rotation
angle | angle in radians to rotate over |
x | x-coordinate of center of rotation |
y | y-coordinate of center of rotation |
AffineTransform representing the rotation
|
inlinevirtual |
Method returns type of affine transformation.
Method returns type of affine transformation.
Transform matrix is m00 m01 m02 m10 m11 m12
According analytic geometry new basis vectors are (m00, m01) and (m10, m11), translation vector is (m02, m12). Original basis vectors are (1, 0) and (0, 1). Type transformations classification:
|
inlinevirtual |
Add a counter-clockwise rotation to this transformation
angle | angle in radians to rotate over |
|
inlinevirtual |
Add a counter-clockwise rotation to this transformation, using the passed point as the center of rotation
angle | angle in radians to rotate over |
px | x-coordinate of center of rotation |
py | y-coordinate of center of rotation |
|
inlinevirtual |
Set this affine transformation to represent a rotation over the passed angle
angle | angle to rotate over in radians |
|
inlinevirtual |
Set this affine transformation to represent a rotation over the passed angle, using the passed point as the center of rotation
angle | angle to rotate over in radians |
px | x-coordinate of center of rotation |
py | y-coordinate of center of rotation |
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().
|
static |
The type of affine transformation.
The type of affine transformation. See GetTransformType().