Package com.openhtmltopdf.render
Class BorderPainter.RelativeBorderProperties
java.lang.Object
com.openhtmltopdf.render.BorderPainter.RelativeBorderProperties
- Enclosing class:
BorderPainter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final float
private final BorderRadiusCorner
private final float
private final BorderRadiusCorner
private final double
private final float
-
Constructor Summary
ConstructorsConstructorDescriptionRelativeBorderProperties
(Rectangle bounds, BorderPropertySet props, float borderScaleOffset, int side, float scaledOffset, float widthScale) -
Method Summary
-
Field Details
-
_top
private final float _top -
_left
private final float _left -
_right
private final float _right -
_leftCorner
-
_rightCorner
-
_rotation
private final double _rotation -
_dimmensionsSwapped
private final boolean _dimmensionsSwapped
-
-
Constructor Details
-
RelativeBorderProperties
public RelativeBorderProperties(Rectangle bounds, BorderPropertySet props, float borderScaleOffset, int side, float scaledOffset, float widthScale)
-
-
Method Details
-
getRightCorner
-
getLeftCorner
-
getTop
public float getTop() -
getLeft
public float getLeft() -
getRight
public float getRight() -
getRotation
private double getRotation() -
isDimmensionsSwapped
private boolean isDimmensionsSwapped()
-