Interface ISelectionInfo
- All Known Subinterfaces:
IAnchorSelectionInfo, IConnectionSelectionInfo, IShapeSelectionInfo
- All Known Implementing Classes:
AnchorSelectionInfoImpl, ConnectionSelectionInfoImpl, SelectionInfoImpl, ShapeSelectionInfoImpl
public interface ISelectionInfo
The Interface ISelectionInfo.
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the color.Gets the hover color.Gets the hover color for a shape whose parent is selected.Gets the line style.intGets the line width.voidsetColor(IColorConstant color) Set the color of the selection.voidsetHoverColor(IColorConstant hoverColor) Sets the hover color.voidsetHoverColorParentSelected(IColorConstant hoverColor) Sets the hover color for shapes whose parent is selected.voidsetLineStyle(LineStyle lineStyle) Set the line style of the selection.voidsetLineWidth(int lineWidth) Sets the line width of the selection.
-
Method Details
-
getColor
-
getHoverColor
-
getHoverColorParentSelected
IColorConstant getHoverColorParentSelected()Gets the hover color for a shape whose parent is selected.- Returns:
- the hover color
-
getLineStyle
-
getLineWidth
int getLineWidth()Gets the line width.- Returns:
- the line width of the selection
- Since:
- 0.19
-
setColor
-
setHoverColor
Sets the hover color.- Parameters:
hoverColor- the color
-
setHoverColorParentSelected
Sets the hover color for shapes whose parent is selected.- Parameters:
hoverColor- the color
-
setLineStyle
Set the line style of the selection.- Parameters:
lineStyle- the line style
-
setLineWidth
void setLineWidth(int lineWidth) Sets the line width of the selection.- Parameters:
lineWidth- the line width- Since:
- 0.19
-