public class Light extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAnchor()
Get the Anchor property.
|
String |
getColor()
Get the Color property.
|
TransitionOptions |
getColorTransition()
Get the Color property transition options.
|
float |
getIntensity()
Get the Intensity property.
|
TransitionOptions |
getIntensityTransition()
Get the Intensity property transition options.
|
Position |
getPosition()
Get the Position property.
|
TransitionOptions |
getPositionTransition()
Get the Position property transition options.
|
void |
setAnchor(String anchor)
Set the Anchor property.
|
void |
setColor(int color)
Set the Color property.
|
void |
setColor(String color)
Set the Color property.
|
void |
setColorTransition(TransitionOptions options)
Set the Color property transition options.
|
void |
setIntensity(float intensity)
Set the Intensity property.
|
void |
setIntensityTransition(TransitionOptions options)
Set the Intensity property transition options.
|
void |
setPosition(Position position)
Set the Position property.
|
void |
setPositionTransition(TransitionOptions options)
Set the Position property transition options.
|
public void setAnchor(String anchor)
anchor
- as Stringpublic String getAnchor()
public void setPosition(Position position)
position
- of the lightpublic Position getPosition()
public TransitionOptions getPositionTransition()
public void setPositionTransition(TransitionOptions options)
options
- transition options for positionpublic void setColor(int color)
color
- as intpublic void setColor(String color)
color
- as Stringpublic String getColor()
public TransitionOptions getColorTransition()
public void setColorTransition(TransitionOptions options)
options
- transition options for colorpublic void setIntensity(float intensity)
intensity
- as Floatpublic float getIntensity()
public TransitionOptions getIntensityTransition()
public void setIntensityTransition(TransitionOptions options)
options
- transition options for intensity© 2015–2019 Mapbox. All rights reserved.