java.lang.Object
org.jhotdraw8.draw.css.value.CssInsets
Represents a set of inside offsets specified as
CssSizes.- Author:
- Werner Randelshofer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull javafx.geometry.Insets@NonNull javafx.geometry.InsetsgetConvertedValue(double width, double height) Converts values using the specified width and heights for converting percentages in the insets.@NonNull javafx.geometry.InsetsgetConvertedValue(@NonNull UnitConverter converter) @NonNull javafx.geometry.InsetsgetConvertedValue(UnitConverter converter, @NonNull String units) getLeft()getRight()getTop()inthashCode()toString()
-
Field Details
-
ZERO
-
-
Constructor Details
-
CssInsets
-
CssInsets
-
CssInsets
public CssInsets()
-
-
Method Details
-
equals
-
getBottom
-
getConvertedValue
Converts values using the specified width and heights for converting percentages in the insets.- Parameters:
width- the width for computing percentages for left and right insetsheight- the height for computing percentages for top and bottom insets- Returns:
- the converted value
-
getConvertedValue
-
getConvertedValue
public @NonNull javafx.geometry.Insets getConvertedValue(UnitConverter converter, @NonNull String units) -
getConvertedValue
-
getLeft
-
getRight
-
getTop
-
hashCode
public int hashCode() -
toString
-