joliclic

home

kh-radiusscheme

« Index [ Examples | Attributes | Properties | Methods ]

A radius to display inside a kh-wheelscheme element.

Attributes
angle, main
Properties
angle, length
Methods
setAngle

Examples

example screenshot
<kh-wheelscheme>
    <kh-radiusscheme main="true"/>
    <kh-radiusscheme angle="30"/>
</kh-wheelscheme>

live examples:


Attributes

angle

type: float

The initial angle of the radius inside the wheel, in degree. Default: 0.

main

type: boolean

If true, the pointer of the radius is a little circle, otherwise it's a little black triangle. Default: false.

Properties

angle

type: float

Get and set the angle of the radius, in degree.

length

readonly

type: float

The length of the radius.

Methods

void setAngle(float a)

Set the angle of the radius. You can use the angle property as well.

Khromaxul - version: 0.3alpha - 2009-07-30