@Generated(value={"Immutables.generator","JCameraFPSStyleMouseRegionType"}) public final class JCameraFPSStyleMouseRegion extends Object implements JCameraFPSStyleMouseRegionType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCameraFPSStyleMouseRegion.Builder
Builds instances of type
JCameraFPSStyleMouseRegion. |
| Modifier and Type | Method and Description |
|---|---|
static JCameraFPSStyleMouseRegion.Builder |
builder()
Creates a builder for
JCameraFPSStyleMouseRegion. |
double |
centerX() |
double |
centerY() |
static JCameraFPSStyleMouseRegion |
copyOf(JCameraFPSStyleMouseRegionType instance)
Creates an immutable copy of a
JCameraFPSStyleMouseRegionType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCameraFPSStyleMouseRegion that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
origin, width, height, centerX, centerY. |
double |
height() |
static JCameraFPSStyleMouseRegion |
of(JCameraScreenOrigin origin,
double width,
double height)
Construct a new immutable
JCameraFPSStyleMouseRegion instance. |
JCameraScreenOrigin |
origin() |
String |
toString()
Prints the immutable value
JCameraFPSStyleMouseRegion with attribute values. |
double |
width() |
JCameraFPSStyleMouseRegion |
withHeight(double value)
Copy the current immutable object by setting a value for the
height attribute. |
JCameraFPSStyleMouseRegion |
withOrigin(JCameraScreenOrigin value)
Copy the current immutable object by setting a value for the
origin attribute. |
JCameraFPSStyleMouseRegion |
withWidth(double value)
Copy the current immutable object by setting a value for the
width attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditions, coefficientspublic JCameraScreenOrigin origin()
origin in interface JCameraFPSStyleMouseRegionTypepublic double width()
width in interface JCameraFPSStyleMouseRegionTypepublic double height()
height in interface JCameraFPSStyleMouseRegionTypepublic double centerX()
centerX in interface JCameraFPSStyleMouseRegionTypepublic double centerY()
centerY in interface JCameraFPSStyleMouseRegionTypepublic final JCameraFPSStyleMouseRegion withOrigin(JCameraScreenOrigin value)
origin attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for originthis objectpublic final JCameraFPSStyleMouseRegion withWidth(double value)
width attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for widththis objectpublic final JCameraFPSStyleMouseRegion withHeight(double value)
height attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for heightthis objectpublic boolean equals(Object another)
JCameraFPSStyleMouseRegion that have equal attribute values.public int hashCode()
origin, width, height, centerX, centerY.public String toString()
JCameraFPSStyleMouseRegion with attribute values.public static JCameraFPSStyleMouseRegion of(JCameraScreenOrigin origin, double width, double height)
JCameraFPSStyleMouseRegion instance.origin - The value for the origin attributewidth - The value for the width attributeheight - The value for the height attributepublic static JCameraFPSStyleMouseRegion copyOf(JCameraFPSStyleMouseRegionType instance)
JCameraFPSStyleMouseRegionType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static JCameraFPSStyleMouseRegion.Builder builder()
JCameraFPSStyleMouseRegion.Copyright © 2017 <code@io7m.com> http://io7m.com