"borderOffset"

Allows to define the offset between text and border.

Synopsis

setValue(string shape, "borderOffset", string offset);

getValue(string shape, "borderOffset", string &offset);

shape.borderOffset(int offset);

Parameter

Parameter Description
shape Name of the object
offset Offset between border and text of the object

Description

The attribute allows to get or set the offset between border and text of the primitive text object.

Example

Sets the offset between the border and the text inside of the Initialize script of the primitive text to 10

main()
{
  this.borderOffset(10);
}

Assignment

Primitive Text