Chapter 7. Render Extension Definitions

Table of Contents

Common Render Extension Options
Render Extension Alignment
Fill
Fill Render Extension Options
Polygon
Polygon Render Extension Options
Rectangle
Rectangle Render Extension Options
Image
Image Render Extension Options
Image Alignment
Text
Text Render Extension Options
External
External Render Extension Options
3D Model
3D Model Render Extension Options

Common Render Extension Options

The follow is a list of common options across all render extensions

  • x - x position of the render extension relative to the control (number, optional, default: 0)

  • y - y position of the render extension relative to the control s(number, optional, default: 0)

  • width - width of therender extension, if -1 then it will set to the size of the object being rendered (number, optional, default: width of object it is attached to)

  • height - height of the render extension, if -1 then it will set to the size of the object being rendered (number, optional, default: height of object it is attached to)

  • alpha - Alpha value for this render extension (number, optional, 0-255, default: 255 (opaque))

  • rotation - Rotation for the item, (0-360) (number, optional, default: 0)

  • valign - Vertical alignment within the control (number, optional, default: 0)

                            0: default, top

                            1: top

                            2: center

                            3: bottom

  • halign - Horizontal alignment within the control (number, optional, default: 0)

                            0: default, left

                            1: left

                            2: center

                            3: right

Render Extension Alignment

A render extension can have a vertical and horizontal alignment.  This alignment is based on the control area and the render extension position and size.  The following describes the effects of these parameters on alignment.

Width and height set, position set to (0,0)

Width and height set, position set to (5,5).  The position functions as an offset to the alignment