RADIUS
Prev | Chapter 2. XML elements and attributes | Next

## RADIUS

### Description

Level: 3rd

This parameter defines the scale for width/radius of primitives. If "relative" is used, the radius/width of primitives such as ATOMs are scaled to fit the window size. If "absolute" is used, the radius/width of primitives are scaled with a constant value spcified by scale below.

### Parent Elements

GLOBAL

### Child Elements

nothing

### Attributes

method (type:String) = "relative"

  The way to determine radius. See also scale below.

  "absolute" : use given scale value below.

  "relative" : scale the position using the factor scale and stage size/width.

scale (type:Float) = "0.05"

  The scale factor for width/radius. In case of "relative", actual scaling factor is (this value) * min( stageWidth, stageHeight ). In case of "absolute", this value is used as the scaling factor. The default value is extermely small for the "absolute" setting. If you use "absolute", please modify this scaling factor, too.

Prev | Up | Next
WHEEL | Home | SCENE