Knob Pointer Style
Overview
Available Settings
Full XML List:
Description
Knob pointer is like a needle pointer but it has a cap of larger radius that imitates a gear and may use a custom marker as a needle. With the help of knob pointer you can imitate a massive gear or a volume control. The attributes of the knob_pointer_style itself are simple. color and hatch_color define its visual look, name is a unique name of each pointer and parent points on element you want to inherit properties from.
Knob_pointer_style has a number of subnodes. Knob_backgroundis responsible for the effect of the gear itself. Radius is its size and gear_height defines a size of a single jag. Cap is a round gizmo that is drawn in the center of your circular gauge. Inside it has only two attributes:enabled and radius.
Cap may have effects and its visual appearance are set by background subnode and subnodes describing 2 borders: inner_stroke and outer_stroke.
Needle. Radius is a total length of a pointer. Point_radius is length of the pointer's ending and base_radius - length of pointer's base part. Sometimes it is useful to set a negative value for base_radius to make your pointer be displayed on both sides of your pointer basement. And, finally, thickness and point_thickness are responsible for thickness of the pointer at its base and at its end respectively.
Marker has a number of attributes defining its shape and position (shape, width, height, align, padding) and subnodes defining visual appearance (fill, hatch_fill, border, effects).
States Supported
This style supports the following states: normal, hover, pushed, selected_normal, selected_hover.
