Package org.mapfish.print.processor.map
Record Class CreateMapPagesProcessor.PagingDimensions
java.lang.Object
java.lang.Record
org.mapfish.print.processor.map.CreateMapPagesProcessor.PagingDimensions
- Enclosing class:
CreateMapPagesProcessor
public static record CreateMapPagesProcessor.PagingDimensions(int nbWidth, int nbHeight, double minX, double minY, double paintAreaWidth, double paintAreaHeight, double overlapProj)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPagingDimensions(int nbWidth, int nbHeight, double minX, double minY, double paintAreaWidth, double paintAreaHeight, double overlapProj) Creates an instance of aPagingDimensionsrecord 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.doubleminX()Returns the value of theminXrecord component.doubleminY()Returns the value of theminYrecord component.intnbHeight()Returns the value of thenbHeightrecord component.intnbWidth()Returns the value of thenbWidthrecord component.doubleReturns the value of theoverlapProjrecord component.doubleReturns the value of thepaintAreaHeightrecord component.doubleReturns the value of thepaintAreaWidthrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PagingDimensions
public PagingDimensions(int nbWidth, int nbHeight, double minX, double minY, double paintAreaWidth, double paintAreaHeight, double overlapProj) Creates an instance of aPagingDimensionsrecord class.- Parameters:
nbWidth- the value for thenbWidthrecord componentnbHeight- the value for thenbHeightrecord componentminX- the value for theminXrecord componentminY- the value for theminYrecord componentpaintAreaWidth- the value for thepaintAreaWidthrecord componentpaintAreaHeight- the value for thepaintAreaHeightrecord componentoverlapProj- the value for theoverlapProjrecord component
-
-
Method Details
-
toString
Returns 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. -
hashCode
public 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. -
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 '=='. -
nbWidth
public int nbWidth()Returns the value of thenbWidthrecord component.- Returns:
- the value of the
nbWidthrecord component
-
nbHeight
public int nbHeight()Returns the value of thenbHeightrecord component.- Returns:
- the value of the
nbHeightrecord component
-
minX
public double minX()Returns the value of theminXrecord component.- Returns:
- the value of the
minXrecord component
-
minY
public double minY()Returns the value of theminYrecord component.- Returns:
- the value of the
minYrecord component
-
paintAreaWidth
public double paintAreaWidth()Returns the value of thepaintAreaWidthrecord component.- Returns:
- the value of the
paintAreaWidthrecord component
-
paintAreaHeight
public double paintAreaHeight()Returns the value of thepaintAreaHeightrecord component.- Returns:
- the value of the
paintAreaHeightrecord component
-
overlapProj
public double overlapProj()Returns the value of theoverlapProjrecord component.- Returns:
- the value of the
overlapProjrecord component
-