LGUI2:radialpanel

From Lavish Software Wiki
Jump to: navigation, search

A LavishGUI 2 radialpanel element is a specialized panel where the children are automatically visually placed one after another in a clockwise pattern around the radialpanel's center. Each child is assigned a Radial Item with additional properties used by the radialpanel.

Defining a radialpanel element

A radialpanel element is a panel with the addition of properties used for the radial layout.

radialpanel element properties
deadZone A numeric value indicating the radius of the dead zone
liveZone A numeric value indicating the radius of the live zone (added on top of the dead zone and zone margin sizes), which specifies the default size of radial items
zoneMargin A numeric value indicating the radius of the margin between the dead and live zones
deadZoneBrush A Brush definition specifying the brush for the dead zone
originDegrees A numeric value (in degrees clockwise from top) indicating the position to start the radial layout from
resolution A numeric value indicating the number of edges that should be used for rendering the perimeter of radial items
childSize A Size definition specifying the area to reserve for each child element
radialItem A Radial Item definition specifying additional rendering options for each segment

Examples

LavishGUI 2 Element Types

LavishGUI 2 LavishScript Object Types

Core API (see Using LavishGUI 2 from LavishScript)
lgui2 - lgui2animateargs - lgui2animationtype - lgui2eventargs - lgui2eventhandler - lgui2elementtype - lgui2itemviewgeneratorargs - lgui2inputbinding - lgui2layer - lgui2skin - lgui2trigger
Enums
elgui2animationframestate - elgui2dpad - elgui2edge - elgui2fontflags - elgui2horizontalalignment - elgui2imageorientation - elgui2progresstext - elgui2scrollbar - elgui2sizetocontent - elgui2verticalignment
Element Components
lgui2animation - lgui2brush - lgui2fontstyle - lgui2margins - lgui2item - lgui2radialitem - lgui2radialgaugeneedle
Element Base Types
lgui2element - lgui2bordered - lgui2contentbase - lgui2headeredcontentbase - lgui2itemlist
Elements