ZForms documentation/BoxTextures

A set of textures used for drawing a box. This class is used for multi-texture buttons.

Enums

 * enum CornerIndices
 * Used with the corners variable.
 * {| class="wikitable"

! Constant name !! Description
 * C_TOPLEFT || The top left corner of the box.
 * C_TOPRIGHT || The top right corner of the box.
 * C_BOTTOMLEFT || The bottom left corner of the box.
 * C_BOTTOMRIGHT || The bottom right corner of the box.
 * }
 * enum SideIndices
 * Used with the sides variable.
 * {| class="wikitable"
 * }
 * enum SideIndices
 * Used with the sides variable.
 * {| class="wikitable"

! Constant name !! Description
 * S_TOP || The top side of the box.
 * C_BOTTOM || The bottom side of the box.
 * C_LEFT || The left side of the box.
 * C_RIGHT || The right side of the box.
 * }
 * C_LEFT || The left side of the box.
 * C_RIGHT || The right side of the box.
 * }
 * }

Functions

 * void setCorners (string topLeft, string topRight, string bottomLeft, string bottomRight)
 * Sets the textures for the box's corners.


 * void setSides (string top', string bottom, string left, string right'')
 * Sets the textures for the box's sides.


 * void setMidTex (string tex)
 * Sets the texture for the box's center.