Package org.jpedal.constants
Record Class Destination.XYZ
java.lang.Object
java.lang.Record
org.jpedal.constants.Destination.XYZ
- Record Components:
- left- the left X coordinate
- top- the top Y coordinate
- zoom- the zoom factor (1.0 == 100%)
- All Implemented Interfaces:
- Destination
- Enclosing interface:
- Destination
public static record Destination.XYZ(float left, float top, float zoom)
extends Record
implements Destination
Display the page with the coordinates 
(left, top) positioned at
 the upper-left corner of the window, magnified by zoom.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.jpedal.constants.DestinationDestination.Fit, Destination.FitB, Destination.FitBH, Destination.FitBV, Destination.FitH, Destination.FitR, Destination.FitV, Destination.XYZ
- 
Constructor SummaryConstructorsConstructorDescriptionXYZ(float left, float top, float zoom) Creates an instance of aXYZrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatleft()Returns the value of theleftrecord component.floattop()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.floatzoom()Returns the value of thezoomrecord component.
- 
Constructor Details
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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 '=='.
- 
leftpublic float left()Returns the value of theleftrecord component.- Returns:
- the value of the leftrecord component
 
- 
toppublic float top()Returns the value of thetoprecord component.- Returns:
- the value of the toprecord component
 
- 
zoompublic float zoom()Returns the value of thezoomrecord component.- Returns:
- the value of the zoomrecord component
 
 
-