public class CIMMarkerPlacementInsidePolygon extends CIMMarkerFillPlacement
| Constructor and Description |
|---|
CIMMarkerPlacementInsidePolygon() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerPlacementInsidePolygon |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
PlacementClip |
getClipping()
Gets the clipping option which specifies how markers should be clipped at the polygon boundary.
|
double |
getGridAngle()
Gets the orientation angle that the markers are placed on within the polygon.
|
PlacementGridType |
getGridType()
Gets the grid type which defines how markers are placed.
|
double |
getOffsetX()
Gets the marker row offset horizontally.
|
double |
getOffsetY()
Gets the marker row offset vertically.
|
double |
getRandomness()
Gets the randomness of the pattern when markers are placed randomly in a polygon.
|
int |
getSeed()
Gets the starting value for generating a random pattern.
|
boolean |
getShiftOddRows()
Gets a value indicating whether every other row of markers should be shifted to create an offset grid.
|
double |
getStepX()
Gets the distance between each marker on the X-axis of the grid.
|
double |
getStepY()
Gets the distance between each marker on the Y-axis of the grid.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setClipping(PlacementClip clipping)
Sets the clipping option which specifies how markers should be clipped at the polygon boundary.
|
void |
setGridAngle(double gridAngle)
Sets the orientation angle that the markers are placed on within the polygon.
|
void |
setGridType(PlacementGridType gridType)
Sets the grid type which defines how markers are placed.
|
void |
setOffsetX(double offsetX)
Sets the marker row offset horizontally.
|
void |
setOffsetY(double offsetY)
Sets the marker row offset vertically.
|
void |
setRandomness(double randomness)
Sets the randomness of the pattern when markers are placed randomly in a polygon.
|
void |
setSeed(int seed)
Sets the starting value for generating a random pattern.
|
void |
setShiftOddRows(boolean shiftOddRows)
Sets a value indicating whether every other row of markers should be shifted to create an offset grid.
|
void |
setStepX(double stepX)
Sets the distance between each marker on the X-axis of the grid.
|
void |
setStepY(double stepY)
Sets the distance between each marker on the Y-axis of the grid.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getPlacePerPart, getPrimitiveName, setPlacePerPart, setPrimitiveNamepublic double getGridAngle()
public void setGridAngle(double gridAngle)
public PlacementGridType getGridType()
public void setGridType(PlacementGridType gridType)
public double getOffsetX()
public void setOffsetX(double offsetX)
public double getRandomness()
public void setRandomness(double randomness)
public int getSeed()
public void setSeed(int seed)
public boolean getShiftOddRows()
public void setShiftOddRows(boolean shiftOddRows)
public double getStepX()
public void setStepX(double stepX)
public double getStepY()
public void setStepY(double stepY)
public double getOffsetY()
public void setOffsetY(double offsetY)
public PlacementClip getClipping()
public void setClipping(PlacementClip clipping)
public static CIMMarkerPlacementInsidePolygon fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMMarkerFillPlacementCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMMarkerFillPlacement