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 aPagingDimensions
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.double
minX()
Returns the value of theminX
record component.double
minY()
Returns the value of theminY
record component.int
nbHeight()
Returns the value of thenbHeight
record component.int
nbWidth()
Returns the value of thenbWidth
record component.double
Returns the value of theoverlapProj
record component.double
Returns the value of thepaintAreaHeight
record component.double
Returns the value of thepaintAreaWidth
record component.final String
toString()
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 aPagingDimensions
record class.- Parameters:
nbWidth
- the value for thenbWidth
record componentnbHeight
- the value for thenbHeight
record componentminX
- the value for theminX
record componentminY
- the value for theminY
record componentpaintAreaWidth
- the value for thepaintAreaWidth
record componentpaintAreaHeight
- the value for thepaintAreaHeight
record componentoverlapProj
- the value for theoverlapProj
record 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 thenbWidth
record component.- Returns:
- the value of the
nbWidth
record component
-
nbHeight
public int nbHeight()Returns the value of thenbHeight
record component.- Returns:
- the value of the
nbHeight
record component
-
minX
public double minX()Returns the value of theminX
record component.- Returns:
- the value of the
minX
record component
-
minY
public double minY()Returns the value of theminY
record component.- Returns:
- the value of the
minY
record component
-
paintAreaWidth
public double paintAreaWidth()Returns the value of thepaintAreaWidth
record component.- Returns:
- the value of the
paintAreaWidth
record component
-
paintAreaHeight
public double paintAreaHeight()Returns the value of thepaintAreaHeight
record component.- Returns:
- the value of the
paintAreaHeight
record component
-
overlapProj
public double overlapProj()Returns the value of theoverlapProj
record component.- Returns:
- the value of the
overlapProj
record component
-