iText 8.0.5 API
|
Class to hold background-repeat property. More...
Public Types |
|
enum | BackgroundRepeatValue { BackgroundRepeatValue.NO_REPEAT, BackgroundRepeatValue.REPEAT, BackgroundRepeatValue.ROUND, BackgroundRepeatValue.SPACE } |
Defines all possible background repeat values for one axis. More... |
|
Class to hold background-repeat property.
Defines all possible background repeat values for one axis.
|
inline |
Creates a new BackgroundRepeat instance.
Creates a new BackgroundRepeat instance. The axis will have the value BackgroundRepeatValue.REPEAT.
|
inline |
Creates a new BackgroundRepeat instance based on one BackgroundRepeat instance.
repeat | the repeat value that will be set for for both axes |
|
inline |
Creates a new BackgroundRepeat instance based on two BackgroundRepeat instance.
xAxisRepeat | the repeat value that will be set for for X axis |
yAxisRepeat | the repeat value that will be set for for Y axis |
|
inlinevirtual |
Gets the BackgroundRepeatValue value for X axis.
|
inlinevirtual |
Gets the BackgroundRepeatValue value for Y axis.
|
inlinevirtual |
Checks whether the BackgroundRepeatValue.NO_REPEAT value is set on X axis or not.
|
inlinevirtual |
Checks whether the BackgroundRepeatValue.NO_REPEAT value is set on Y axis or not.
|
inlinevirtual |
Prepares the image rectangle for drawing.
Prepares the image rectangle for drawing. This means that the size and position of the image rectangle will be changed to match the BackgroundRepeatValue values for the axes.
imageRectangle | the image rectangle which will be changed |
backgroundArea | the background available area |
backgroundSize | the image background size property |