|
iText 9.6.0 API
|
Class to hold background-image property. More...
Classes |
|
| class | Builder |
| BackgroundImage builder class. More... |
|
Public Member Functions |
|
| BackgroundImage? (iText.Layout.Properties.BackgroundImage backgroundImage) | |
| Creates a copy of passed BackgroundImage instance. More... |
|
| virtual PdfImageXObject | GetImage () |
| Gets initial image if it is instanceof iText.Kernel.Pdf.Xobject.PdfImageXObject , otherwise returns null. More... |
|
| virtual PdfFormXObject | GetForm () |
| Gets initial image if it is instanceof iText.Kernel.Pdf.Xobject.PdfFormXObject , otherwise returns null. More... |
|
| virtual float[] | CalculateBackgroundImageSize (float areaWidth, float areaHeight) |
| Calculates width and height values for background image with a given area params. More... |
|
| virtual BackgroundPosition | GetBackgroundPosition () |
| Gets background-position. More... |
|
| virtual AbstractLinearGradientBuilder | GetLinearGradientBuilder () |
| Gets linearGradientBuilder. More... |
|
| virtual bool | IsBackgroundSpecified () |
| Returns is background specified. More... |
|
| virtual BackgroundSize | GetBackgroundSize () |
| Gets the background size property. More... |
|
| virtual float | GetImageWidth () |
| Gets initial image width. More... |
|
| virtual float | GetImageHeight () |
| Gets initial image height. More... |
|
| virtual BackgroundRepeat | GetRepeat () |
| Gets image BackgroundRepeat instance. More... |
|
| virtual BlendMode | GetBlendMode () |
| Get the image's blend mode. More... |
|
| virtual BackgroundBox | GetBackgroundClip () |
| Gets background-clip. More... |
|
| virtual BackgroundBox | GetBackgroundOrigin () |
| Gets background-origin. More... |
|
Package Functions |
|
| virtual float[] | ResolveWidthAndHeight (float? width, float? height, float areaWidth, float areaHeight) |
| Resolves the final size of the background image in specified area. More... |
|
Package Attributes |
|
| PdfXObject | image |
| AbstractLinearGradientBuilder | linearGradientBuilder |
Class to hold background-image property.
|
inline |
Creates a copy of passed BackgroundImage instance.
| backgroundImage |
BackgroundImage for cloning
|
inlinevirtual |
Calculates width and height values for background image with a given area params.
| areaWidth | width of the area of this images |
| areaHeight | height of the area of this images |
|
inlinevirtual |
Gets background-clip.
|
inlinevirtual |
Gets background-origin.
|
inlinevirtual |
Gets background-position.
|
inlinevirtual |
Gets the background size property.
BackgroundSize instance
|
inlinevirtual |
Get the image's blend mode.
|
inlinevirtual |
Gets initial image if it is instanceof iText.Kernel.Pdf.Xobject.PdfFormXObject , otherwise returns null.
|
inlinevirtual |
Gets initial image if it is instanceof iText.Kernel.Pdf.Xobject.PdfImageXObject , otherwise returns null.
|
inlinevirtual |
Gets initial image height.
|
inlinevirtual |
Gets initial image width.
|
inlinevirtual |
Gets linearGradientBuilder.
|
inlinevirtual |
Gets image BackgroundRepeat instance.
|
inlinevirtual |
Returns is background specified.
true if background is specified, otherwise false
|
inlinepackagevirtual |
Resolves the final size of the background image in specified area.
| width | the intrinsic background image width |
| height | the intrinsic background image height |
| areaWidth | the area width in which background will be placed |
| areaHeight | the area height in which background will be placed |