hstuvwxyfg)z{\ ;~ >AndAnd(a;b) Returns true if a and b is true. 0 - false 1 - true-1Example And(0;1) Returns 0-1AngleAngle(point1;point2) The angle of a line described by two point positions. Angle(pos) The angle of a vector.-1Example Angle(point1.Pos;Point(10;10)) AngleBetweenAngleBetween(point1;point2) Gets the smallest angle between vectors. The sign is positive if the angle of point1 is larger than the angle of point2 in a clock-wise rotation.-1-1Example Angle(Point(0;1)) Returns 1,57-1orial>BetweenBetween(number;minValue;maxValue) Returns the number if it is between minValue and maxValue. If the number is less than minValue, minValue is returned. If the number is more than maxValue, maxValue is returned.-1Example Between(ellipse1.X;0;100) Returns the X position of ellipse1 inside the range 0-100.-1BlueBlue(color) Returns the blue component of color. 0 is no blue. 255 is full blue component.-1Example Blue(Color(0;0;255)) Returns 255.-1ide>Blue(color)-1ClosestClosest(fromPoint;toPoint;pos) Returns the closest point to pos on a line from fromPoint to toPoint. Closest(line;pos) Returns the closest position of pos on line.-1Example Closest(line1;point1.Pos) Returns the closest position of point1 on line1.-1ClusterMixClusterMix(originalPoints;points1;points2;...) Returns a point collection with the avarage points that are changed from original points. If there is no changed points, original points is used. This function is useful when affecting points with multiple control points in a soft way.-1Example ClusterMix(curve1.Points; Cluster(curve1.Points;point1.Pos;Point(-71,00;-19,00);1;10;0,98); Cluster(curve1.Points;point2.Pos;Point(76,00;-22,00);1;10;0,98;-1)) Returns the affected points of curve1 by the position of point1 and point2.-1CountCount(points) Returns the number of points in a point collection.-1Example Count(curve1.Points) Returns the number of points in curve1.-1Slide>Count(points)-1CurveRegionCurveRegion(points) Returns a curve region by points. This function can be applied to the Region property of clip, if you want to only draw child nodes inside a curve shape.-1Example CurveRegion(curve1.Points) Returns a curve region by the points of curve1.-1DeltaMousePosDeltaMousePos() Returns the change of mouse cursor position. The function is ment for interaction testing in Figure Creator. This function should not be used in figures for Stickman.DeltaTimeDeltaTime() Returns the difference in seconds from last drawing. The function is ment for physics simulation in Figure Creator. This function should not be used in figures for Stickman.DocTransformDocTransform() Returns the transformation of the figure relative to the control it is drawed on. The function is ment for interaction testing in Figure Creator. This function should not be used in fEllipseRegionEllipseRegion(rectangle) Returns a region of ellipse rectangle. This function can be applied to the Region property of clip, if you want to only draw child nodes inside an ellipse shape.-1Example EllipseRegion(ellipse1.Rectangle) Returns a region of ellipse1.-1ExcludeExclude(region1;region2;...) Excludes regions from region1.-1Example Exclude(InfiniteRegion();Region(ellipse1)) Returns a infinite region except the sExpExp(number) Raises E with the number.-1Example Exp(0) Returns 1-1GreenGreen(color) Returns the green component of a color. 0 is no green component. 255 is full green component.-1Example Green(Color(0;255;0)) Returns 255.-1olor)-1IfIf(logical;trueValue;falseValue) Returns trueValue if logical is 1, falseValue if local is 0.-1Example If(0;5;6) Returns 6-1<InfiniteRegionInfiniteRegion() Returns a infinite region.-1IntersectIntersect(region1;region2) Returns the a region intersecting region1 and region2.-1Example Intersect(Region(ellipse1);Region(rect1)) Returns the intersection between ellipse1 and rect1.-1ation>-1InvTransformVectorInvTransformVector(vector;matrix1;matrix2;...) Returns the vector transformed from inside the last matrix to outside the first matrix. Use this when you want to transform a direction vector rather than a position.-1Example InvTransformVector(Point(1;0);matrix1) Returns the inverse transformed x unit from inside to outside of matrix1.-1IsLeftLargeSideIsLeftLargeSide(point1;point2;point3) Returns 1 if the left side of points following a path has the largest angle. This function is used as a subfunction when creating collision detection algorithms.-1Example IsLeftLargeSide(Point(0;0);Point(1;0);Point(1;1)) Returns 0 (false), because the path is turning left.-1LengthLength(vector) Return the length of a vector. Length(point1;point2) Returns the distance between point1 and point2.-1Example Length(Point(1;0)) Returns 1-1Example Length(point1.Pos;point2.Pos) Returns the distance between the positions of point1 and point2.-1LogLog(number) Returns the logarithm of number. Log(number;base) Returns the logarithm of number with specified base.-1Example Log(1) Returns 0-1Example Log(2;2) Returns 1-1MaxMax(number1;number1;...) Returns the number with heighest value.-1Example Max(0;2) Returns 2-1MinMin(number1;number2;...) Returns the number with lowest value.-1Example Min(5;7) Returns 5-1ModMod(number1;number2) Returns the modulus.-1Example Mod(6;5) or 6 % 5 Returns 1-1MousePosMousePos() Returns the position of mouse. This function is only ment for interaction testing in Figure Creator. This function should not be used in Stickman figures.-1Title>MousePosMousePos()-1MultiplyMultiply(p;factor) Multiply(factor;p) Returns the position of point multiplied with the factor. Multiply(number1;number2) Multiplies number1 with number2.-1Example Multiply(Point(3;3);2) or Point(3;3) * 2 Returns Point(6;6)-1Example Multiply(2;2) or 2 * 2 Returns 4-1NotNot(logical) Returns the inverse of logical expression. Returns 1 if logical is 0. Returns 0 if logical is 1.-1Example Not(1) or !1 Returns 0<OrOr(a;b) Returns 1 if a or b is 1. Returns 0 if neither a or b is 1.-1Example Or(1;1) or 1 || 1 Returns 1 (true)-1ial>OrOr(a;b)-1PIPI() Returns 3,14... number.-1PointVariablesPointVariables(pointVar1;pointVar2;...) Returns a collection of point variables. This function can be used to set the ControlPoints property of rigid.-1Example PointVariables(point1;point2) Returns a collection of point variables, containing point1 and point2.-1PolygonRegionPolygonRegion(points) Returns a polygon region of points.-1Example PolygonRegion(polygon1.Points) Returns a region of polygon1 points.-1PolygonRegion(points)-1PowerPower(a;b) Powers a into b.-1Example Power(2;3) Returns 8-1RandomRandom() Returns a random number between 0 and 1.-1RectanglePointsRectanglePoints(rectangle) Returns a point collection with the position of corners in rectangle.-1Example RectanglePoints(ellipse1.Points) Returns the corners by ellipse1.-1e)-1RedRed(color) Returns the red component of color. 0 is no red component. 255 is full red component.-1Example Red(Color(255;0;0)) Returns 255.-1Text>Red(color)-1RightMouseButtonRightMouseButton() Returns 1 if the right mouse button is pressed. Returns 0 if not the right mouse button is pressed. This function is only ment for interaction testing in Figure Creator. This function should not be used in Stickman figures.-1mation>#x  ?" "$_$#h&G`(*ASolidBrushSolidBrush(color) Returns a solid brush with color.-1Example SolidBrush(Color(255;255;255)) Returns a white solid brush-1idBrushSolidBrush(color)-1> @ B!"D_F#$HqJ~%&FSwitchSelectSwitchSelect(showIndex;obj1;obj2;...) Returns one of the object given the logic of switch ShowIndex property. This function can be used to program switch-logic without using the switch directly.-1Example SwitchSelect(switch1.ShowIndex;curve1.Points;curve2.Points) Returns curve1 or curve2 points controlled by switch1.-1LXNfNOP)RVT*+VX,-Z \G^ /0`bdf23h)45jl7n<HpP89r,t':;v'yd<={}Iop@BDEPzQJR(/ST^UV WXWde7KZ[@|})]^&&b4L'(ij0lm+.k{16nqMrq9$Yc&b4YMiddleMouseButtonMiddleMouseButton Returns 1 if the middle mouse button is pressed. Returns 0 if not the middle mouse button is pressed. This function is only ment for interaction testing in Figure Creator. This function should not be used in Stickman figures.-1Slide>B}CDETimeTime() Returns the time in seconds since started. This function can be used to create self-animating figures.-1TransformVectorTransformVector(vector;matrix1;matrix2;...) Returns vector transformed from outside of matrix1 to inside the last matrix.-1Example TransformVector(Point(1;1);matrix1) Returns Point(1;1) transformed inside matrix1.-1nimation>UnionUnion(region1;region2;...) Returns the union of regions.-1Example Union(Region(curve1);Region(ellipse1) Returns union region of curve1 and ellipse1.-1nion(region1;region2;...)-1VectorVector(direction;length) Returns a point by direction angle and length.-1Example Vector(PI()/2;10) Returns Vector(0;10)-1>VectorVector(direction;length)-1XX(point) Returns X of point. X(rectangle) Returns X of rectangle.-1Example X(point1.Pos) Returns X o point1 position.-1Example X(ellipse1.Rectangle) Returns X of ellipse1 upper left corner-1TextAddTextAdd(text1;text2;...) Adds text together.-1Example TextAdd("Frame: ";Floor(Time()*25) Returns a text that tells the current frame.AcosAcos(number) Returns the inverse cosinus of a value. The returned angle is in radians. Value have to be between -1 and 1.-1Example Acos(0,3) Returns 1,27-1r)-1ation>Example AngleBetween(Point(1;2);Point(1;1)) Returns 0,32-1sitive if the angle of point1 is larger than the angle of point2 in a clock-wise rotation.-1AtanAtan(number) Returns the inverse tangent function of value. Returned angle is in radians.-1Example Atan(1) Returns 0,79 which is 45 degrees.-1ext>Atan(number)-1on>-1itle>DeltaMousePos() Returns the change of mouse cursor position. The function is ment for interaction testing in Figure Creator. This function should not be used in figures for Stickman.-1turns the transformation of the figure relative to the control it is drawed on. The function is ment for interaction testing in Figure Creator. This function should not be used in fhape of ellipse1.-1on2;...) Excludes regions from region1.-1Example Exclude(InfiniteRegion();Region(ellipse1)) Returns a infinite region except the s/Slide>e>IfIf(logical;trueValue;falseValue)-1on>-1t>-1nts) Returns a deformed point collection by basePoints and controlPoints. basePoints is the start position of the control points. basePoints and controlPoints need to AbsAbs(number) Returns the absolute value. If value is positive, the positive value will be returned. If value is negative, the negative value will be returned.-1Example Abs(-10) Returns 10-1ect< InvTransform>InvTransformVector@IsInsideBIsLeftLargeSideDLeftMouseButtonFLengthH LinearFadeJLogLAddAdd(point1;point2) Adds two points. Add(number1;number2) Adds two numbers.-1Example Add(point1.Pos;point2.Pos) or point1.Pos + point2.Pos Returns the sum of positions of point1 and point2.-1Example Add(6,5;7) or 6,5+7 Returns 13,5-1 SkewTransform SolidBrushSpiralSubtracn>-1e>DeltaTime() Returns the difference in seconds from last drawing. The function is ment for physics simulation in Figure Creator. This function should not be used in figures for Stickman.MoreMore(a;b) Returns 1 if a is more than b. Returns 0 if not a is more than b.-1Example More(4;10) or 4 > 10 Returns 0 (false)-1Title>More(a;b)-1Animation>-1 Point(3;3) * 2 Returns Point(6;6)-1Example Multiply(2;2) or 2 * 2 Returns 4-1NotEqualNotEqual(a;b) Returns 1 if a is not equal b. Returns 0 if a is equal b.-1Example NotEqual(10;11) or 10 != 11 or 10 <> 11 Returns 1 (true)-1logical)-1SinSin(angle) Returns the sinus of angle.-1Example Sin(PI()/2) Returns 1-1ploSizeSize(rectangle) Returns the size of rectangle.-1Example Size(Rectangle(0;0;100;100)) Returns Point(100;100)-1utorial>SinSin(angle)-1SqrtSqrt(number) Returns the square root of number.-1Example Sqrt(4) Returns 2-1TanTan(angle) Returns the tangent of angle.-1Example Tan(PI()/4) Returns 1-1gAbsAcosAddAlphaAndAngle AngleBetweenAsinAtan Avg BetweenBlendBlueBoneClosestCluster ClusterMixColorCosCount CurveControl CurveRegionDeform" DeltaMousePos$ DeltaTimeDivide& DocTransform( DotProduct* EllipseRegionEqual,Exclude.Exp0 FollowPath2Green4HeightIf6InfiniteRegion8Inside: Intersect< InvTransform>InvTransformVector@IsInsideBIsLeftLargeSideDLeftMouseButtonFLengthLess LessOrEqualH LinearFadeJLogLMatrixMaxNMiddleMouseButtonMinPModMore MoreOrEqualRMorphTMousePosVMoveXMultiplyZNormalNotNotEqual\NumberCollection^Or`PenPIdPointbPointCollectionfPointVariablesh PolygonRegionPolygonShapeRegionjPosPowerlRandomn RectanglepRectanglePointsrRectangleRegiontRedvRegionyRightMouseButton{Rotate}ScaleSinSizeSkewInvTransform SolidBrushSpiralSqrtSubtract SwitchSelectTanTextAddTime TransformTransformVectorTurnKeyUnion UpDownKeyVectorWidthXYAlphaAlpha(color) Returns the alpha component of color. 0 is full transparent. 255 is full opaque.-1Example Alpha(Color(150;0;0;0)) Returns 150-1de>1Text>Example Add(6,5;7) or 6,5+7 Returns 13,5-1AsinAsin(number) Returns the inverse sinus function of value. The returned angle is in radians. The value have to be between -1 and 1.-1Example Asin(0,6) Returns 0,64-1AvgAvg(p1;p2;...) Returns the average position of arguments. Avg(points1;points2;...) Returns the average point collection of arguments. The point collections need to have same number of points.-1Example Avg(Point(0;0);Point(2;2)) Returns Point(1;1)-1Example Avg(curve1.Points;curve2.Points) Returns the average point collection of curve1 and curve2 points.-1BlendBlend(originalPoints;points1;blend1;points2;blend2;...) Blends point collections relative to the original points. blend1 gives a factor of how much to blend points1. 0 blend factor means no effect. 1 blend factor means full effect, given that other blend factors is 0. The point collections need to have same length. This function can be used to perform advanced mouth movements, like smiling when talking.-1Example Blend(curve1.Points;curve2.Points;0,5;curve3.Points;0,3) Returns a blended point collection of curve2 (0,5) and curve3 (0,3) points.-1BoneBone(thisPoint;thatPoint;distance) Returns the new position of thisPoint after 1 cycle of bone simulation. Bone(thisPoint;thatPoint;distance;strong) Returns the new position of thisPoint after 1 cycle of bone simulation, with given strong stiffness. strong is a factor between 0 and 1 that gives the strength of bone. A strong factor of 0,5 will relax half of the length.-1Example Bone(.Pos;Point(0;0);50) Returns the new position that has a distance 50 from Point(0;0).-1ClusterCluster(points;currentPos;originalPos;startIndex;endIndex;strong) Cluster(points;currentPos;originalPos;startIndex;endIndex;strong;direction) Returns a point collection where the difference of currentPos and originalPos affects the points. strong is a factor between 0 and 1 that gives the strength of affection depending on the distance from control point.. strong factor 0 means no affection. strong factor 1 means that the points between startIndex and endIndex will move with currentPos. Normally the strong factor will lay in the range 0,9-1. Cluster(points;currentMatrix;originalMatrix;startIndex;endIndex) Cluster(points;currentMatrix;originalMatrix;startIndex;endIndex;direction) Returns a point collection where the points between startIndex and endIndex is affected by the difference between currentMatrix and originalMatrix. The affected points will look like they are moving with currentMatrix. direction can be 1 og -1 which is the loop direction between startIndex and endIndex. This function can be used to create eyelid control points to express anger or tiredness with precise control.-1Example Cluster(curve1.Points;point1.Pos;Point(0;0);0;3;0,95;1) Returns a point collection where point at index 0,1,2,3 is affected by the difference between point1 position and Point(0;0).-1Example Cluster(curve1.Points;matrix1;Matrix(Point(0;0);0);0;3;1) Returns a point collection where point at index 0,1,2,3 is transformed with matrix1.-1ColorColor(r;g;b) Color(a;r;g;b) Returns a color with alpha component (a), red component (r), green component (g) and blue component (b). 0 alpha means full transparency (hidden). 255 alpha means no transparency. All component values are between 0 and 255. Color(argb) Returns a color created by a number value. This function is useful when creating custom ways to calculate a color.-1Example Color(255;0;0) Returns a red color.-1Example Color(255 + 255*256 + 255*256*256 + 255*256*256*256) Returns a white color.-1x;direction) Returns a point colleCosCos(angle) Returns the cosinus of angle. The angle need to be in radians.-1Example Cos(PI()/4) Returns 0,71-1 startIndex and endIndex. This function can be used to create eyelid control points to express anger or tiredness with precise control.-1Example Cluster(curve1.Points;point1.Pos;Point(0;0);0;3;0CurveControlCurveControl(points;controlPoints;originalControlPoints;controlDistance) Returns a point collection that is affected by another point collection. Control points closer than controlDistance will average the affection, while the affection outside is decided by the distance of the control point. The longer distance between control point and the curve point, the smaller affection. This function is useful when some control points or a simple curve controls a more advanced curve. Create a copy of the displayed shape, use a simple point collection as the control shape and use the copied shape in the expression. The technique can be used to create dynamic muscles, hair, breathing chest or waves. In case of rotation, use a deform node instead.-1Example CurveControl( curve1.Points; PointCollection( point1.Pos; point2.Pos; point3.Pos); PointCollection(Point(-84,00;-24,00); Point(13,00;-26,00); Point(77,00;67,00)); 50) Returns a point collection that is affected by the positions of point1, point2 and point3.-1int2.Pos; point3.Pos); PointCollection(Point(-84,00;-24,00); Point(13,00;-26,00); PoinDivideDivide(a;b) Divides a with b. If b is 0, INF is returned. If a and b is 0, NaN is returned.-1Example Divide(4;5) or 4 / 5 Returns 0,8-1de>Divide(a;b) Divides a with b. If b is 0, INF is returned. If a and b is 0, NaN is returned.-1Example Divide(4;5) or 4 / 5 Returns 0,8DotProductDotProduct(p1;p2) Returns the dot product of point1 and point2. If one of the arguments is a vector with length 1, the result is directional factor. This can be used to find you how much a vector points in a specified direction.-1Example DotProduct(Point(4;4);Point(1;0)) Returns 4-1tional factor. This can be used to find you how much a vector poinEqualEqual(a;b) Returns 1 (true) if a equals b. Returns 0 (false) if not a equals b.-1Example Equal(3;0) or 3 == 0 or 3 = 0 Returns 0 (false)-1e>Equal(a;b) Returns 1 (true) if a equals b. Returns 0 (false) if not a equals b.-1Example Equal(3;0) or 3 == 0 or 3 = 0 Returns 0 (false)FollowPathFollowPath(points;startIndex;stopIndex;time) Returns a point on at curve. time factor 0 will return the point position at startIndex. time factor 1 will return the point position at stopIndex. If time is over 1, the position returned will continue following the curve in a loop.-1Example FollowPath(curve1.Points;0;1;Time()) Returns the a point following the path of curve1 moving 1 point per second.-1owing the curve in a loop.-1Example FollowPath(curve1.Points;0;1;Time()) Returns the a point following the path of curve1 moving 1 point per seconHeightHeight(rectangle) Returns the height of rectangle.-1Example Height(rect1.Rectangle) Returns the height of rect1.-1>HeightHeight(rectangle) Returns the height of rectangle.-1Example Height(rect1.Rectangle) Returns the height of rect1.-1InsideInside(controlPoint;center;radius) Returns the closest point inside a circle with center and radius properties. This function is used to keep pupils inside the eye region.-1Example Inside(point1.Pos;Point(0;0);5) Returns the closest point to point1 inside a circle with center at Point(0;0) and radius 5.-1the eye region.-1InvTransformInvTransform(point;matrix1;matrix2;...) Returns the position of point transformed from inside of matrix2 to outside of matrix1, where matrix2 is inside matrix1 and so on. InvTransform(points;matrix1;matrix2;...) Returns the points transformed from inside matrix2 to outside matrix1, where matrix2 is inside matrix1 and so on.-1Example InvTransform(point1.Pos;matrix1) Returns the position of point1 transformed from inside of matrix1 to outside.-1Example InvTransform(curve1.Points;matrix1) Returns the points of curve1 transformed from inside matrix1 to outside.-1 inside of matrix1 to outside.-1Example InvTransform(curve1.Points;matrix1) Returns the points of curve1 transformed from inside matrix1 to outside.-1<IsInsideIsInside(point;points;leftSide;margin) Returns 1 if a point is inside a polygon area. Set leftSide 1 if the left side of polygon is in when looking from point 0 to point 1. margin is a value added to the polygon area to make it thicker.-1Example IsInside(point1.Pos;polygon1.Points;1;0) Returns true if the position of point1 is inside the points of polygon1.-1 area to make it thicker.-1Example IsInside(point1.Pos;polygon1.Points;1;0) Returns true if the position of point1 is inside the points of polygon1.-1LeftMouseButtonLeftMouseButton() Returns 1 if the left mouse button is pressed. Return 0 if the left mouse button is not pressed. This function is only ment for interaction testing in Figure Creator. This function should not be used in Stickman figures.-1t mouse button is pressed. Return 0 if the left mouse button is not pressed. This function is only ment for interaction testing in Figure Creator. This funcLessLess(a;b) Returns 1 if a is less than b. Returns 0 if not a is less than b.-1Example Less(4;7) or 4 < 7 Returns 1 (true)-1sLess(a;b) Returns 1 if a is less than b. Returns 0 if not a is less than b.-1Example Less(4;7) or 4 < 7 Returns 1 (true)-1-1left corner-1f the keys is pressed, 0 is returned.-1LessOrEqualLessOrEqual(a;b) Returns 1 if a is less or equal b. Return 0 if not a is less or equal b.-1Example LessOrEqual(5;5) or 5 <= 5 Returns 1 (true)-1LinearFadeLinearFade(startValue;endValue;value;startPoints;endPoints) Returns a point collection that is a linear interpolation between startPoints and endPoints. If value equals startValue, startPoints is returned. If value equals endValue, endPoints is returned. startPoints and endPoints needs to have the same number of points.-1Example LinearFade(0;1;0,5;curve1.Points;curve2.Points) Returns a point collection that is a mix between the points of curve1 and curve2.-1MatrixMatrix(offsetPoint;rotate) Returns a matrix that is constructed by offset point, rotation, scale and shearing.-1Example Matrix(Point(0;0);0) Returns an identity matrix (no transformation).-1MoreOrEqualMoreOrEqual(a;b) Returns 1 if a is more or equal than b.-1Example MoreOrEqual(3;4) or 3 >= 4 Returns 0 (false)-1torial>MorphMorph(time;points1;points2;...) Returns a point collection that is a morph between the points collection. time factor 0 gives points1. time factor 1 gives the last point collection. The point collections needs to have the same number of points.-1Example Morph(Min(Time()/3;1);curve1.Points;curve2.Points) Returns a morphed point collection between the points of curve1 and curve2. The morphing starts at time 0 and stops after 3 seconds.-1MoveMove(originalRect;controlPos;originalPos) Returns a rectangle that is moved the difference between control position and original position.-1Example Move(ellipse1.Rectangle;point1.Pos;Point(0;0)) Returns a rectangle that moves with the position of point1.-1NormalNormal(vector) Returns a normal of vector. The normal is always rotated clockwise.-1Example Normal(Point(1;0)) Returns Point(0;1)-1NumberCollectionNumberCollection(number1;number2;...) Returns a collection of numbers. This function can be used to program the ZValues property of zorder.-1Example NumberCollection(1;2;3) Returns a number collection containing 1, 2 and 3-1torial>PenPen(color;width) Returns a pen with color and width.-1Example Pen(Color(0;255;0);3) Returns a green pen with width 3.-1Collection(1;2;3) Returns a number collection containing 1, 2 and 3-1PointPoint(x;y) Returns a point with x and y coordinates. Point(coll;index) Returns the point in point collection coll at index.-1Example Point(1;1) Returns a point with x value 1 and y value 1-1Example Point(curve1.Points;0) Returns the first point in the points of curve1.-1PointCollectionPointCollection(p1;p2;...) Returns a point collection. PointCollection(points1;startIndex1;endIndex1;direction1;points2;...) Returns a point collection using points from other point collections.-1Example PointCollection(Point(0;0);Point(1;0);Point(1;1)) Returns a point collection with Point(0;0), Point(1;0) and Point(1;1)-1Example PointCollection(curve1.Points;0;3;1) Returns a point collection of the 3 first points of curve1.-1PolygonShapeRegionPolygonShapeRegion(regionExpression) Creates a PolygonShape by the region expression and converts it to a region. A PolygonShape is way to describe a region that is used when rendering to flash. This function is used to test flash exporting of clip expressions. An infinite PolygonShape gets inverted when converting to a region.-1Example PolygonShapeRegion(Region(polygon1)) Returns a region of polygon1 handled in same way as when rendering to flash.-1PosPos(point) Returns the position of a point variable.-1Example Pos(point1) Returns the position of point1.-1RectangleRectangle(x;y;w;h) Returns a rectangle with x, y position and w (width), h (height). Rectangle(centerPos;radius) Returns a square with center and radius. Rectangle(pos;size) Returns a rectangle with given position and size.-1Example Rectangle(0;0;100;20) Returns a rectangle with upper left coner at Point(0;0) with 100 units width and 20 units height.-1Example Rectangle(Point(0;0);5) Returns a square with radius 5.-1Example Rectangle(point1.Pos;point2.Pos-point1.Pos) Returns a rectangle that is controlled by the position of point1 and point2.-1RectangleRegionRectangleRegion(rectangle) Returns a region of rectangle.-1Example RectangleRegion(rect1.Rectangle) Returns a rectangle region of rect1-1RegionRegion(variable) Returns a region of shape. Region() Returns an infinite region.-1Example Region(ellipse1) Returns a region of ellipse1-1RotateRotate(newAngle;oldAngle) Returns a angle that differs less than PI from oldAngle. Rotate(rotatePoint;centerPoint;oldAngle) Returns the angle from rotatePoint to centerPoint that differs less than PI from oldAngle. This function can be used to ensure interpolation of Rotate property of matrix turns correctly.-1Example Rotate(PI()/2;2*PI()) Returns 7,85, the new angle rotated one round because the old angle is rotated one round.-1Example Rotate(point1.Pos;Point(0;0);2*PI()) Returns the angle of point1 rotated 1 round.-1ScaleScale(rectangle;factor) Returns a rectangle that is scaled by a factor, like the rectangle was put inside a matrix and the Scale property was changed. Scale(rectangle;controlPos;originalPos) Returns a rectangle that is scaled by a factor, like the rectangle was put inside a matrix and the Scale property was controlled by controlPos.-1Example Scale(ellipse1.Rectangle;0,5) Returns a rectangle that is a quarter size of ellipse1.-1Example Scale(ellipse1.Rectangle;point1.Pos;Point(100;0)) Returns a resized rectangle controlled by point1.-1SpiralSpiral(points;angle;length) Returns a bended point collection where the points is transformed into a spiral. points needs to be along the x-axis. angle is how much to bend the spiral. angle factor 0 gives no bend at all. This function can be used to create a tail or elephant trunk.-1Example Spiral(curve1.Points;matrix1.Rotate;200) Returns the curve1 points bended in a spiral controlled by the rotate property of matrix1. The curve1 points should be between 0 and 200 along the x-axis.-1SubtractSubtract(p1;p2) Returns a vector pointing from p2 to p1. Subtract(number1;number2) Returns number1 minus number2.-1Example Subtract(Point(2;2);Point(1;2) or Point(2;2) - Point(1;2) Returns Point(1;0)-1Example Subtract(10;8) or 10 - 8 Returns 2-1TransformTransform(point;matrix1;matrix2;...) Returns the position of point transformed from outside of matrix1 to inside the last matrix. Transform(points;matrix1;matrix2;...) Returns the points transformed from outside of matrix1 to inside the last matrix.-1Example Transform(Point(0;0);matrix1) Returns origo transformed inside matrix1.-1Example Transform(curve1.Points;matrix1) Returns the points of curve1 transformed inside matrix1.-1TurnKeyTurnKey() Returns 1 if the right arrow key is pressed, -1 if the left arrow key is pressed. If none of the keys is pressed, 0 is returned. This function should not be used in Stickman figures.-1UpDownKeyUpDownKey() Returns 1 if up arrow key is pressed, -1 if down arrow key is pressed. If none of the keys is pressed, 0 is returned. This function is for interaction testing in Figure Creator. This function should not be used in Stickman figures.-1WidthWidth(rectangle) Return the width of rectangle.-1Example Width(ellipse1.Rectangle) Returns the width of ellipse1.-1YY(point) Returns Y of point. Y(rectangle) Returns Y of rectangle.-1Example Y(point1.Pos) Return Y of point1 position.-1Example Y(ellipse1.Rectangle) Returns Y of ellipse1.-1SkewInvTransformSkewInvTransform(pos;skew) Transforms a point to the position inside a skew. A skew is a node that can draw squeezed or on a 3D plane controlled by four control points.-1Example SkewTransform(Point(0;0);skew1) Returns the origo point in skew.-1DeformDeform(points;basePoints;controlPoints) Returns a deformed point collection by basePoints and controlPoints. basePoints is the start position of the control points. basePoints and controlPoints need to have the same number of points.-1Example Deform(baseCurve.Points;PointCollection(Point(0;0);Point(0;10)); PointCollection(point1.Pos;point2.Pos)) Returns the baseCurvePoints deformed by point1 and point2.-1