Package | Description |
---|---|
org.girod.jgraphml.model |
This package contains the graphml model classes.
|
Modifier and Type | Method and Description |
---|---|
EdgeLabel.ParamModel |
EdgeLabel.applyOnFirstSegment()
Apply the label on the first segment.
|
EdgeLabel.ParamModel |
EdgeLabel.applyOnLastSegment()
Apply the label on the last segment.
|
EdgeLabel.ParamModel |
EdgeLabel.applyOnSegment(int segment)
Set the segment on which the label is applied.
|
EdgeLabel.ParamModel |
EdgeLabel.ParamModel.clone() |
EdgeLabel.ParamModel |
EdgeLabel.getOrCreateParameterModel()
Return the parameter model, creating it if it does not exist.
|
EdgeLabel.ParamModel |
EdgeLabel.getParameterModel()
Return the parameter model.
|
EdgeLabel.ParamModel |
EdgeLabel.setAutoFlip(boolean autoFlip)
Set the auto-flip property of the model.
|
EdgeLabel.ParamModel |
EdgeLabel.setAutoRotate(boolean autoRotate)
Set the auto-rotate property of the model.
|
EdgeLabel.ParamModel |
EdgeLabel.setDistance(float distance)
Set the label distance from the edge.
|
EdgeLabel.ParamModel |
EdgeLabel.setOnSegmentAutomatic(boolean isAutomatic)
Set if the label is applied automatically on the best segment depending on the ratio.
|
EdgeLabel.ParamModel |
EdgeLabel.setPosition(short position)
Set the label position.
|
EdgeLabel.ParamModel |
EdgeLabel.setRatio(float ratio)
Set the label ratio on the edge.
|
EdgeLabel.ParamModel |
EdgeLabel.setSmartPosition(short position,
boolean onEdge)
Set the label smart position.
|
Modifier and Type | Method and Description |
---|---|
void |
EdgeLabel.setParameterModel(EdgeLabel.ParamModel paramModel)
Set the parameter model.
|
void |
EdgeLabel.setRotationModel(EdgeLabel.ParamModel rotationModel)
Deprecated.
|
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence