Vai al contenuto

Bevel

For drawing boxes, frames and separator lines. This component lets you draw rectangles and lines in the page in order to separate or group different zones of the screen.It is important that the bevel be placed behind any other components using the same ‘space’ on the page.It draws graphic lines in the shape and style required, leaving the rest of the area unchanged. The rest of the area behaves like a transparent component.Color1 and color2 select the colors of the foreground and of the shadows used in the drawing.Available properties:
  • shape: Sets component appearance. Choose from:
  • SHAPE_FRAME: rectangle with borders in relief
  • SHAPE_BOX: box in relief
  • SHAPE_BOTTOM_LINE: bottom line
  • SHAPE_LEFT_LINE: vertical left line
  • SHAPE_RIGHT_LINE: vertical right line
  • SHAPE_TOP_LINE: top line
  • TRANSPARENT: the bevel doesn’t draw anything on screen. Useful if you need to get mouse events inside an area.
  • ROUND_RECT: draws a rectangle with round corners.
  • style: Sets line drawing style. Choose from:
  • STYLE_RAISED: relief style
  • STYLE_LOWERED: recessed style
  • lineWidth: line width to be used for the border (only ROUND_RECT).
  • arcWidth: angle of round corners (only ROUND_RECT). With angle = 0 a standard rectangle is drawn.