public class LinePlacementImpl extends Object implements LinePlacement, Cloneable
| Constructor and Description |
|---|
LinePlacementImpl() |
LinePlacementImpl(FilterFactory factory) |
LinePlacementImpl(FilterFactory factory,
boolean aligned,
boolean repeated,
boolean generalized,
Expression gap,
Expression initialGap) |
LinePlacementImpl(LinePlacement placement) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object obj) |
Expression |
getGap()
Gap gives the distance between two graphics.
|
Expression |
getInitialGap()
InitialGap specifies how far away the first graphic will be drawn relative to the start of
the rendering line
|
Expression |
getPerpendicularOffset()
Getter for property perpendicularOffset.
|
int |
hashCode() |
boolean |
isAligned()
Correct method name violation from GeoAPI.
|
boolean |
IsAligned()
Labels can either be aligned to the line geometry if IsAligned is "true" (the default) or are
drawn horizontally.
|
boolean |
isGeneralizeLine()
GeneralizeLine allows the actual geometry, be it a linestring or polygon to be generalized
for label placement.
|
boolean |
isRepeated()
If IsRepeated is "true", the label will be repeatedly drawn along the line with InitialGap
and Gap defining the spaces at the beginning and between labels.
|
void |
setAligned(boolean aligned) |
void |
setFilterFactory(FilterFactory factory)
Deprecated.
|
void |
setGap(Expression gap) |
void |
setGeneralized(boolean generalized) |
void |
setInitialGap(Expression initialGap) |
void |
setPerpendicularOffset(Expression perpendicularOffset)
Setter for property perpendicularOffset.
|
void |
setRepeated(boolean repeated) |
public LinePlacementImpl()
public LinePlacementImpl(LinePlacement placement)
public LinePlacementImpl(FilterFactory factory)
public LinePlacementImpl(FilterFactory factory, boolean aligned, boolean repeated, boolean generalized, Expression gap, Expression initialGap)
@Deprecated public void setFilterFactory(FilterFactory factory)
public Expression getPerpendicularOffset()
getPerpendicularOffset in interface LinePlacementpublic void setPerpendicularOffset(Expression perpendicularOffset)
perpendicularOffset - New value of property perpendicularOffset.public Expression getInitialGap()
LinePlacementgetInitialGap in interface LinePlacementpublic Expression getGap()
LinePlacementgetGap in interface LinePlacementpublic boolean isRepeated()
LinePlacementisRepeated in interface LinePlacementpublic boolean IsAligned()
LinePlacementIsAligned in interface LinePlacementpublic boolean isAligned()
LinePlacementpublic boolean isGeneralizeLine()
LinePlacementisGeneralizeLine in interface LinePlacementpublic Object accept(StyleVisitor visitor, Object data)
LinePlacementaccept in interface LabelPlacementaccept in interface LinePlacementvisitor - the style visitorpublic void accept(StyleVisitor visitor)
public Object clone()
Cloneableclone in class ObjectObject.clone()public void setRepeated(boolean repeated)
public void setGeneralized(boolean generalized)
public void setAligned(boolean aligned)
public void setGap(Expression gap)
public void setInitialGap(Expression initialGap)
Copyright © 1996–2019 Geotools. All rights reserved.