public interface GraphicsBox extends Component
Represents a graphical box in the diagram.
This Java interface represents a GraphicsBox in OVL.
It contain all methods available in OVL.
The static fields in this interface declaration
are public non-static instance fields in OVL.
They can be read and written from OVL code.
- Since:
- Omix 1.8.0
- Author:
- Dr. Peter Droste
-
Method Summary
Modifier and Type Method Description double
blur()
The item's blur.Font
font()
The item's default text font.boolean
hidden()
Visibility of the item.Model
model()
Returns the model this item belongs to.Paint
paint()
The fill appearance of the item's shape.double
scale()
The item's scale factor.Shadow
shadow()
The item's default text font.Shape
shape()
The item's shape.Color
strokeColor()
The color for the stroke of the item's shape.StrokeStyle
strokeStyle()
The paint style for the stroke of the item's shape.double
strokeWidth()
The stroke width of the item's shape.String
text()
returns the item's Text.double
transparency()
The item's transparency.VerticalAlignment
verticalTextAlignment()
Vertical text alignmentMethods inherited from interface omix.lang.model.Component
customPropertyNames, getCustomProperty, getIdentifier, id, onload, setCustomProperty, setTmpCustomProperty
-
Method Details
-
strokeColor
The color for the stroke of the item's shape. -
paint
The fill appearance of the item's shape. -
blur
The item's blur. -
transparency
The item's transparency. -
strokeStyle
The paint style for the stroke of the item's shape. -
strokeWidth
The stroke width of the item's shape. -
scale
The item's scale factor. -
font
The item's default text font. -
shadow
The item's default text font. -
Visibility of the item.
- Returns:
- hidden
-
text
returns the item's Text.- Returns:
- text
-
shape
The item's shape.- Returns:
- shape
-
verticalTextAlignment
Vertical text alignment- Returns:
- verticalTextAlignment
-
model
Model model()Returns the model this item belongs to.- Returns:
- model
-