OutlineColor

Constructor

OutlineColor <id> (int r, int g, int b)

Action

Defines a new color that will be applied to the stroke of the next gaphis objects.

Predefined children

  • IntProperty: r, g, b.


OutlineWidth

Constructor

OutlineWidth <id> (int width)

Action

Specifies the width of the stroke for the next graphic objects.

Predefined children

  • IntProperty: width.


OutlineOpacity

Constructor

OutlineOpacity <id> (double a)

Action

Specifies the opacity of the stroke for the next graphic objects.

Predefined children

  • DoubleProperty: a.


NoOutline

Constructor

NoOutline <id>

Action

Specifies that the next graphic objects will be drawn without stroke.

Predefined children

None


OutlineCapStyle

Constructor

OutlineCapStyle <id>(int style)

  • 0 - butt
  • 1 - round
  • 2 - square

Action

Specifies how the end of the next lines will be drawn.

Predefined children

  • IntProperty: cap.


OutlineJoinStyle

Constructor

OutlineJoinStyle <id>(int style)

  • 0 - miter
  • 1 - round
  • 2 - bevel

Action

Specifies how will be the connection betwen the end of the next lines.

Predefined children

  • IntProperty: join.


OutlineMiterLimit

Constructor

OutlineMiterLimit <id>(int limit)

Action

Specifies the miter limit for the next lines.

Predefined children

  • IntProperty: limit.

Example


use core
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 400, 400)
  OutlineColor _ (100, 150, 200)
  Circle _ (200, 100, 50)
  NoOutline _
  Circle _ (200, 200, 50)
  OutlineColor _ (100, 150, 200)
  OutlineWidth _ (4)
  OutlineCapStyle _(2)
  Line _(200, 260, 350, 260)
}

run root
run syshook