Show / Hide Table of Contents

Class Rectangle

A rectangle is defined by its width, height and its top left corner anchor point.

Inheritance
java.lang.Object
Rectangle
Inherited Members
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Namespace:
Assembly: .dll
Syntax
public class Rectangle

Constructors

Rectangle()

Declaration
public Rectangle()

Methods

getHeight()

Declaration
public double getHeight()
Returns
Type Description
double

getTopLeftAnchorPoint()

Declaration
public Vector2<Double> getTopLeftAnchorPoint()
Returns
Type Description
Vector2<java.lang.Double>

getWidth()

Declaration
public double getWidth()
Returns
Type Description
double

setHeight(double height)

Declaration
public void setHeight(double height)
Parameters
Type Name Description
double height

setTopLeftAnchorPoint(Vector2<Double> topLeftAnchorPoint)

Declaration
public void setTopLeftAnchorPoint(Vector2<Double> topLeftAnchorPoint)
Parameters
Type Name Description
Vector2<java.lang.Double> topLeftAnchorPoint

setWidth(int width)

Declaration
public void setWidth(int width)
Parameters
Type Name Description
int width
In This Article
Back to top Generated by DocFX