public final class MinMaxWidthUtils extends Object
| Constructor and Description |
|---|
MinMaxWidthUtils() |
| Modifier and Type | Method and Description |
|---|---|
static MinMaxWidth |
countDefaultMinMaxWidth(IRenderer renderer)
Default implementation for min max width calculation.
|
static MinMaxWidth |
countDefaultMinMaxWidth(IRenderer renderer,
float areaMaxWidth)
Default implementation for min max width calculation.
|
static float |
getBorderWidth(IPropertyContainer element)
Get sum of left and right borders for the element.
|
static float |
getEps() |
static float |
getInfHeight() |
static float |
getInfWidth() |
static float |
getMarginsWidth(IPropertyContainer element)
Get sum of left and right margins for the element.
|
static float |
getPaddingWidth(IPropertyContainer element)
Get sum of left and right paddings for the element.
|
static boolean |
isEqual(double x,
double y) |
public static float getEps()
public static float getInfWidth()
public static float getInfHeight()
public static boolean isEqual(double x,
double y)
public static MinMaxWidth countDefaultMinMaxWidth(IRenderer renderer)
renderer - renderer to calculate min max width forMinMaxWidth instancepublic static MinMaxWidth countDefaultMinMaxWidth(IRenderer renderer, float areaMaxWidth)
renderer - renderer to calculate min max width forareaMaxWidth - max available area for layoutMinMaxWidth instancepublic static float getBorderWidth(IPropertyContainer element)
element - element to calculate borders width forfloatpublic static float getMarginsWidth(IPropertyContainer element)
element - element to calculate margins width forfloatpublic static float getPaddingWidth(IPropertyContainer element)
element - element to calculate paddings width forfloatCopyright © 1998–2025 Apryse Group NV. All rights reserved.