Class RectImpl
- All Implemented Interfaces:
Rect,Shape,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the height (vertical dimension) of this rect.Gets the transform of the rectangledoublegetWidth()Gets the width (horizontal dimension) of this rect.doublegetX()Gets the X origin (leftmost corner) of this rect.doublegetY()Gets the Y origin (topmost corner) of this rect.voidsetHeight(double height) Sets the height (vertical dimension) of this rect.voidsetTransform(String transform) Sets the transform of the rectanglevoidsetWidth(double width) Sets the width (horizontal dimension) of this rect.voidsetX(double x) Sets the X origin (leftmost corner) of this rect.voidsetY(double y) Sets the Y origin (topmost corner) of this rect.Methods inherited from class com.priint.pubserver.metadata.xml.base.ShapeImpl
getFill, getOpacity, getStroke, getStrokeWidth, setFill, setOpacity, setStroke, setStrokeWidthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.priint.pubserver.metadata.base.Shape
getFill, getOpacity, getStroke, getStrokeWidth, setFill, setOpacity, setStroke, setStrokeWidth
-
Constructor Details
-
RectImpl
public RectImpl()
-
-
Method Details
-
getX
public double getX()Description copied from interface:RectGets the X origin (leftmost corner) of this rect.
Gets the X origin (leftmost corner) of this rect.
-
setX
public void setX(double x) Description copied from interface:RectSets the X origin (leftmost corner) of this rect.
Sets the X origin (leftmost corner) of this rect.
-
getY
public double getY()Description copied from interface:RectGets the Y origin (topmost corner) of this rect.
Gets the Y origin (topmost corner) of this rect.
-
setY
public void setY(double y) Description copied from interface:RectSets the Y origin (topmost corner) of this rect.
Sets the Y origin (topmost corner) of this rect.
-
getWidth
public double getWidth()Description copied from interface:RectGets the width (horizontal dimension) of this rect.
Gets the width (horizontal dimension) of this rect.
-
setWidth
public void setWidth(double width) Description copied from interface:RectSets the width (horizontal dimension) of this rect.
Sets the width (horizontal dimension) of this rect.
-
getHeight
public double getHeight()Description copied from interface:RectGets the height (vertical dimension) of this rect.
Gets the height (vertical dimension) of this rect.
-
setHeight
public void setHeight(double height) Description copied from interface:RectSets the height (vertical dimension) of this rect.
Sets the height (vertical dimension) of this rect.
-
getTransform
Description copied from interface:RectGets the transform of the rectangle
- Specified by:
getTransformin interfaceRect- Returns:
- the transform
-
setTransform
Description copied from interface:RectSets the transform of the rectangle
- Specified by:
setTransformin interfaceRect- Parameters:
transform- the transform to set
-