public final class OverlayShapeProps
extends java.lang.Object
ServerPolygon. Mirrors the subset of Overlay fields that are
meaningful for server-pushed overlays. Interactive listeners are not
supported in v1 and are therefore not represented here.| Constructor and Description |
|---|
OverlayShapeProps(int fillColor,
float fillOpacity,
int strokeColor,
float strokeWidth,
float strokeOpacity,
int displayOrder,
int minZoom,
int maxZoom,
java.util.Set<Context.UI> activeUIs,
java.util.Set<Context.MapType> activeMapTypes,
@Nullable java.lang.String label,
@Nullable java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Context.MapType> |
activeMapTypes() |
java.util.Set<Context.UI> |
activeUIs() |
int |
displayOrder() |
boolean |
equals(java.lang.Object o) |
int |
fillColor() |
float |
fillOpacity() |
int |
hashCode() |
@Nullable java.lang.String |
label() |
int |
maxZoom() |
int |
minZoom() |
int |
strokeColor() |
float |
strokeOpacity() |
float |
strokeWidth() |
@Nullable java.lang.String |
title() |
java.lang.String |
toString() |
public OverlayShapeProps(int fillColor,
float fillOpacity,
int strokeColor,
float strokeWidth,
float strokeOpacity,
int displayOrder,
int minZoom,
int maxZoom,
java.util.Set<Context.UI> activeUIs,
java.util.Set<Context.MapType> activeMapTypes,
@Nullable
@Nullable java.lang.String label,
@Nullable
@Nullable java.lang.String title)
fillColor - 0xRRGGBB; alpha is supplied separately as fillOpacityfillOpacity - 0.0 (transparent) to 1.0 (opaque)strokeColor - 0xRRGGBBstrokeWidth - pixels; 0 disables the strokestrokeOpacity - 0.0 to 1.0displayOrder - z-order among overlays; higher draws in front (default 1000)minZoom - minimum fullscreen zoom at which the overlay is visiblemaxZoom - maximum fullscreen zoom at which the overlay is visibleactiveUIs - which UIs (Fullscreen, Minimap, Webmap) the overlay is visible inactiveMapTypes - which map types (Day, Night, etc.) the overlay is visible inlabel - static label rendered with the polygon, or null for nonetitle - hover tooltip text, or null for nonepublic int fillColor()
public float fillOpacity()
public int strokeColor()
public float strokeWidth()
public float strokeOpacity()
public int displayOrder()
public int minZoom()
public int maxZoom()
public java.util.Set<Context.UI> activeUIs()
public java.util.Set<Context.MapType> activeMapTypes()
@Nullable public @Nullable java.lang.String label()
@Nullable public @Nullable java.lang.String title()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object