Record Class OfflineRegionDefinition.GeometryRegion
java.lang.Object
java.lang.Record
org.maplibre.nativeffi.offline.OfflineRegionDefinition.GeometryRegion
- All Implemented Interfaces:
OfflineRegionDefinition
- Enclosing interface:
OfflineRegionDefinition
public static record OfflineRegionDefinition.GeometryRegion(String styleUrl, Geometry geometry, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs)
extends Record
implements OfflineRegionDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from interface OfflineRegionDefinition
OfflineRegionDefinition.GeometryRegion, OfflineRegionDefinition.TilePyramid -
Constructor Summary
ConstructorsConstructorDescriptionGeometryRegion(String styleUrl, Geometry geometry, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs) Creates an instance of aGeometryRegionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.geometry()Returns the value of thegeometryrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeIdeographsrecord component.doublemaxZoom()Returns the value of themaxZoomrecord component.doubleminZoom()Returns the value of theminZoomrecord component.floatReturns the value of thepixelRatiorecord component.styleUrl()Returns the value of thestyleUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeometryRegion
public GeometryRegion(String styleUrl, Geometry geometry, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs) Creates an instance of aGeometryRegionrecord class.- Parameters:
styleUrl- the value for thestyleUrlrecord componentgeometry- the value for thegeometryrecord componentminZoom- the value for theminZoomrecord componentmaxZoom- the value for themaxZoomrecord componentpixelRatio- the value for thepixelRatiorecord componentincludeIdeographs- the value for theincludeIdeographsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
styleUrl
Returns the value of thestyleUrlrecord component.- Returns:
- the value of the
styleUrlrecord component
-
geometry
Returns the value of thegeometryrecord component.- Returns:
- the value of the
geometryrecord component
-
minZoom
public double minZoom()Returns the value of theminZoomrecord component.- Returns:
- the value of the
minZoomrecord component
-
maxZoom
public double maxZoom()Returns the value of themaxZoomrecord component.- Returns:
- the value of the
maxZoomrecord component
-
pixelRatio
public float pixelRatio()Returns the value of thepixelRatiorecord component.- Returns:
- the value of the
pixelRatiorecord component
-
includeIdeographs
public boolean includeIdeographs()Returns the value of theincludeIdeographsrecord component.- Returns:
- the value of the
includeIdeographsrecord component
-