Search
Ruler Methods
 


 Public Methods

  Name Description

getDiagramView

Gets the DiagramView document this ruler is associated with.

getGuideColor

Gets the color of alignment guides.

getHorizontalScaleAlignment

Gets the alignment of the horizontal scale of the ruler.

getHorizontalScaleVisible

Gets a value specifying whether the horizontal scale is visible.

getPointerColor

Gets the color of mouse pointer's projections.

getProjectionColor

Gets the color used to paint the projections of the active node on the ruler scales.

getProjectRotatedBounds

Gets whether the projection of nodes on ruler's scales rotates with them.

getScaleColor

Gets the color used to paint the color of the ruler scales.

getTextColor

Gets the color used to paint texts in the ruler.

getUnit

Gets the measure units displayed by the ruler.

getVerticalScaleAlignment

Gets the alignment of the vertical scale of the ruler.

getVerticalScaleVisible

Gets a value specifying whether the vertical scale is visible.

setDiagramView

Sets the DiagramView document this ruler is associated with.

setGuideColor

Sets the color of alignment guides.

setHorizontalScaleAlignment

Sets the alignment of the horizontal scale of the ruler.

setHorizontalScaleVisible

Sets a value specifying whether the horizontal scale is visible.

setPointerColor

Sets the color of mouse pointer's projections.

setProjectionColor

Sets the color used to paint the projections of the active node on the ruler scales.

setProjectRotatedBounds

Sets whether the projection of nodes rotates with them or not.

setScaleColor

Sets the color used to paint the color of the ruler scales.

setTextColor

Sets the color used to paint texts in the ruler.

setUnit

Sets the measure units displayed by the ruler.

setVerticalScaleAlignment

Sets the alignment of the vertical scale.

setVerticalScaleVisible

Sets a value specifying whether the vertval scale is visible.

 Protected Methods

  Name Description

createImageIcon

 

 See Also