iText 8.0.5 API
iText.Layout.Properties.Transform.SingleTransform Class Reference

This class is used to store one transform function. More...

Public Member Functions

  SingleTransform ()
  Creates a default SingleTransform instance equivalent to no transform. More...
 
  SingleTransform (float a, float b, float c, float d, UnitValue tx, UnitValue ty)
  Creates a SingleTransform instance. More...
 
virtual float[]  GetFloats ()
  Gets an array of values corresponding to transformation, i.e. scaling and skewing. More...
 
virtual UnitValue[]  GetUnitValues ()
  Gets an array of values corresponding to translation. More...
 

Detailed Description

This class is used to store one transform function.

Constructor & Destructor Documentation

◆ SingleTransform() [1/2]

iText.Layout.Properties.Transform.SingleTransform.SingleTransform ( )
inline

Creates a default SingleTransform instance equivalent to no transform.

◆ SingleTransform() [2/2]

iText.Layout.Properties.Transform.SingleTransform.SingleTransform ( float  a,
float  b,
float  c,
float  d,
UnitValue  tx,
UnitValue  ty 
)
inline

Creates a SingleTransform instance.

Parameters
a horizontal scaling
b vertical skewing
c horizontal skewing
d vertical scaling
tx horizontal translation
ty vertical translation

Member Function Documentation

◆ GetFloats()

virtual float [] iText.Layout.Properties.Transform.SingleTransform.GetFloats ( )
inlinevirtual

Gets an array of values corresponding to transformation, i.e. scaling and skewing.

Returns
an array of floats

◆ GetUnitValues()

virtual UnitValue [] iText.Layout.Properties.Transform.SingleTransform.GetUnitValues ( )
inlinevirtual

Gets an array of values corresponding to translation.

Returns
an array of UnitValue -s