com.yworks.yfiles.server.graphml.flexio.data
Class FreeNodeLabelModel.NodeRatioAnchoredParameter
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.data.FreeNodeLabelModel.NodeRatioAnchoredParameter
- All Implemented Interfaces:
- java.lang.Cloneable, ILabelModelParameter
- Enclosing class:
- FreeNodeLabelModel
- public static class FreeNodeLabelModel.NodeRatioAnchoredParameter
- extends java.lang.Object
- implements ILabelModelParameter
Model parameter for the free node label model that anchors the label to the node at a given position.
The parameter will use the ratio and offset values to determine a point on both the label and the node. It will
place the label in such a way that both points coincide.
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreeNodeLabelModel.NodeRatioAnchoredParameter
public FreeNodeLabelModel.NodeRatioAnchoredParameter(FreeNodeLabelModel model)
getLayoutXRatio
public double getLayoutXRatio()
setLayoutXRatio
public void setLayoutXRatio(double layoutXRatio)
getLayoutYRatio
public double getLayoutYRatio()
setLayoutYRatio
public void setLayoutYRatio(double layoutYRatio)
getLayoutXOffset
public double getLayoutXOffset()
setLayoutXOffset
public void setLayoutXOffset(double layoutXOffset)
getLayoutYOffset
public double getLayoutYOffset()
setLayoutYOffset
public void setLayoutYOffset(double layoutYOffset)
getLabelXRatio
public double getLabelXRatio()
setLabelXRatio
public void setLabelXRatio(double labelXRatio)
getLabelYRatio
public double getLabelYRatio()
setLabelYRatio
public void setLabelYRatio(double labelYRatio)
getLabelXOffset
public double getLabelXOffset()
setLabelXOffset
public void setLabelXOffset(double labelXOffset)
getLabelYOffset
public double getLabelYOffset()
setLabelYOffset
public void setLabelYOffset(double labelYOffset)
getAngle
public double getAngle()
setAngle
public void setAngle(double angle)
getModel
public ILabelModel getModel()
- Description copied from interface:
ILabelModelParameter
- Gets the model that is associated with this parameter.
- Specified by:
getModel in interface ILabelModelParameter
clone
public java.lang.Object clone()
- Specified by:
clone in interface ILabelModelParameter
Copyright © 2000-2007 yWorks GmbH. All
rights reserved