iText 8.0.5 API
|
Class for min-max-width of rotated elements. More...
Public Member Functions |
|
RotationMinMaxWidth (double minWidth, double maxWidth, double minWidthOrigin, double maxWidthOrigin, double minWidthHeight, double maxWidthHeight) | |
Create new instance More... |
|
virtual double | GetMinWidthOrigin () |
virtual double | GetMaxWidthOrigin () |
virtual double | GetMinWidthHeight () |
virtual double | GetMaxWidthHeight () |
Public Member Functions inherited from iText.Layout.Minmaxwidth.MinMaxWidth | |
MinMaxWidth (float additionalWidth) | |
MinMaxWidth (float childrenMinWidth, float childrenMaxWidth, float additionalWidth) | |
virtual float | GetChildrenMinWidth () |
virtual void | SetChildrenMinWidth (float childrenMinWidth) |
virtual float | GetChildrenMaxWidth () |
virtual void | SetChildrenMaxWidth (float childrenMaxWidth) |
virtual float | GetAdditionalWidth () |
virtual void | SetAdditionalWidth (float additionalWidth) |
virtual float | GetMaxWidth () |
virtual float | GetMinWidth () |
override String | ToString () |
Static Public Member Functions |
|
static iText.Layout.Minmaxwidth.RotationMinMaxWidth | Calculate (double angle, double area, MinMaxWidth elementMinMaxWidth) |
Heuristic method, based on the assumption that area of element stays the same, when we try to layout it with different available width (available width is between min-width and max-width). More... |
|
static iText.Layout.Minmaxwidth.RotationMinMaxWidth | Calculate (double angle, double area, MinMaxWidth elementMinMaxWidth, double availableWidth) |
Heuristic method, based on the assumption that area of element stays the same, when we try to layout it with different available width (available width is between min-width and max-width). More... |
|
static double | CalculateRotatedWidth (Rectangle area, double angle) |
Utility method for calculating rotated width of area in a similar way to other calculations in this class. More... |
|
Class for min-max-width of rotated elements.
Class for min-max-width of rotated elements. Also contains heuristic methods for it calculation based on the assumption that area of element stays the same when we try to layout it with different available width (available width is between min-width and max-width).
|
inline |
Create new instance
minWidth | min-width of rotated element |
maxWidth | max-width of rotated element |
minWidthOrigin | the width of not rotated element, that will have min-width after rotation |
maxWidthOrigin | the width of not rotated element, that will have max-width after rotation |
minWidthHeight | the height of rotated element, that have min-width as its rotated width |
maxWidthHeight | the height of rotated element, that have min-width as its rotated width |
|
inlinestatic |
Heuristic method, based on the assumption that area of element stays the same, when we try to layout it with different available width (available width is between min-width and max-width).
angle | rotation angle in radians |
area | the constant area |
elementMinMaxWidth | NOT rotated element min-max-width |
|
inlinestatic |
Heuristic method, based on the assumption that area of element stays the same, when we try to layout it with different available width (available width is between min-width and max-width).
angle | rotation angle in radians |
area | the constant area |
elementMinMaxWidth | NOT rotated element min-max-width |
availableWidth | the maximum width of area the element will occupy after rotation. |
|
inlinestatic |
Utility method for calculating rotated width of area in a similar way to other calculations in this class.
area | the initial area |
angle | the rotation angle in radians |