RectangleF

Overview

RectangleF is a class in Aspose.Slides FOSS for Java.

Represents a rectangle defined by position and size using floating-point coordinates.

Properties

NameTypeAccessDescription
xfloatReadGets the x-coordinate of the upper-left corner.
yfloatReadGets the y-coordinate of the upper-left corner.
widthfloatReadGets the width.
heightfloatReadGets the height.

Methods

SignatureDescription
RectangleF(x: float, y: float, width: float, height: float)Creates a new RectangleF.
getX()floatGets the x-coordinate of the upper-left corner.
getY()floatGets the y-coordinate of the upper-left corner.
getWidth()floatGets the width.
getHeight()floatGets the height.
equals(obj: Object)booleanDetermines whether the given object is equal to this RectangleF
hashCode()intReturns an integer hash code for this RectangleF
toString()StringReturns a string representation of this RectangleF

See Also