geomerative index
Name RG
Examples
None available
Description R is a static class containing all the states, modes, etc..
Constructors
RG();
Methods
setAdaptor ( )   Use this to set the adaptor type. RShape.BYPOINT adaptor adapts the group to a particular shape by adapting each of the groups points. This can cause deformations of the individual elements in the group. RShape.BYELEMENT adaptor adapts the group to a particular shape by adapting each of the groups elements. This mantains the proportions of the shapes.

setAdaptorLengthOffset ( )   Use this to set the adaptor length offset. This specifies where to start adapting the group to the shape.

setAdaptorScale ( )   Use this to set the adaptor scaling. This scales the transformation of the adaptor.

setPolygonizer ( )   Use this to set the segmentator type. ADAPTATIVE segmentator minimizes the number of segments avoiding perceptual artifacts like angles or cusps. Use this in order to have Polygons and Meshes with the fewest possible vertices. This can be useful when using or drawing a lot the same Polygon or Mesh deriving from this Shape. UNIFORMLENGTH segmentator is the slowest segmentator and it segments the curve on segments of equal length. This can be useful for very specific applications when for example drawing incrementaly a shape with a uniform speed. UNIFORMSTEP segmentator is the fastest segmentator and it segments the curve based on a constant value of the step of the curve parameter, or on the number of segments wanted. This can be useful when segmpointsentating very often a Shape or when we know the amount of segments necessary for our specific application.

setPolygonizerAngle ( )   Use this to set the segmentator angle tolerance for the ADAPTATIVE segmentator and set the segmentator to ADAPTATIVE.

setPolygonizerLength ( )   Use this to set the segmentator length for the UNIFORMLENGTH segmentator and set the segmentator to UNIFORMLENGTH.

setPolygonizerStep ( )   Use this to set the segmentator step for the UNIFORMSTEP segmentator and set the segmentator to UNIFORMSTEP.

Usage Web & Application
Related