Record Class VImage.FindTrimOutput
java.lang.Object
java.lang.Record
app.photofox.vipsffm.VImage.FindTrimOutput
- Enclosing class:
VImage
Helper record to hold multiple outputs from the
VImage.findTrim(app.photofox.vipsffm.VipsOption...) operation-
Constructor Summary
ConstructorsConstructorDescriptionFindTrimOutput(int left, int top, int width, int height) Creates an instance of aFindTrimOutputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.intleft()Returns the value of theleftrecord component.inttop()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Constructor Details
-
FindTrimOutput
public FindTrimOutput(int left, int top, int width, int height) Creates an instance of aFindTrimOutputrecord class.- Parameters:
left- the value for theleftrecord componenttop- the value for thetoprecord componentwidth- the value for thewidthrecord componentheight- the value for theheightrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
left
public int left()Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
top
public int top()Returns the value of thetoprecord component.- Returns:
- the value of the
toprecord component
-
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-