ig.CONFIG.

TEXT_BUBBLE

Text bubble base configuration settings. IMPORTANT: Don't modify config directly! (see example)

Author:
  • Collin Hover - collinhover.com
Source:
// in order to add your own custom configuration to Impact++
// edit the file defining ig.CONFIG_USER, 'plusplus.config-user'
// ig.CONFIG_USER is never modified by Impact++ (it is strictly for your use)
// ig.CONFIG_USER is automatically merged over Impact++'s config

<static> ALPHA :Number

Alpha value from 0 to 1.

Default Value:
  • 1
Source:

<static> B :Number

Blue value from 0 to 1.

Default Value:
  • 0.9
Source:

<static> CORNER_RADIUS :Number

Corner radius, i.e. roundness of box corners.

Default Value:
  • 5
Source:

<static> CORNER_RADIUS_AS_PCT :Number

Whether to treat corner radius as a percentage of size between 0 and 1.

Default Value:
  • false
Source:

<static> G :Number

Green value from 0 to 1.

Default Value:
  • 0.9
Source:

<static> PADDING_X :Number

Padding on the inside of text bubble to keep text spaced away from sides.

Default Value:
  • 6
Source:

<static> PADDING_Y :Number

Padding on the inside of text bubble to keep text spaced away from sides.

Default Value:
  • 6
Source:

<static> PIXEL_PERFECT :Boolean

Whether text bubble should be drawn and scaled pixel perfectly. IMPORTANT: pixel perfect scaling has a very high performance cost, use carefully!

Default Value:
  • false
Source:

<static> R :Number

Red value from 0 to 1.

Default Value:
  • 0.9
Source:

<static> SHRINK_TO_TEXT :Boolean

Whether to shrink to text size.

Default Value:
  • true
Source:

<static> SIZE_AS_PCT :Boolean

Whether should size as a percent of screen.

Default Value:
  • true
Source:

<static> SIZE_PCT_X :Number

Horizontal size in percent of screen.

Default Value:
  • 0.5
Source:

<static> SIZE_PCT_Y :Number

Vertical size in percent of screen.

Default Value:
  • 0.5
Source:

<static> SIZE_X :Number

Horizontal size.

Default Value:
  • 120
Source:

<static> SIZE_Y :Number

Vertical size.

Default Value:
  • 70
Source:

<static> TRIANGLE_LENGTH :Number

Length of triangle extending from bubble.

Default Value:
  • 10
Source:

<static> TRIANGLE_WIDTH :Number

Width of triangle extending from bubble.

Default Value:
  • 12
Source: