Creates a two-dimensional transformation behavior that is a composition of the given transformation behaviors.
lib.Compose2(
xf1,
xf2
)
Returns the DATransform2 object.
Composing a transform is equivalent to first applying xf2 and then applying xf1.
Creates a two-dimensional transformation behavior that is a composition of the DATransform2 objects included in the array.
lib.Compose2Array(
xforms
)
Returns the DATransform2 object.
Composing a transform is equivalent to first applying xfn, then applying xfn -1 and so on.
Creates a DATransform2 object that is a translation (from the origin) that follows a 2-D vector drawing path. The DAPath2 object is converted into the equivalent translation transform.
lib.FollowPathEval(
path,
evaluator
)
Returns the DATransform2 object.
Creates a DATransform2 object that is a translation (from the origin) that follows a 2-D vector drawing path. The DAPath2 object is converted into the equivalent translation transform.
lib.FollowPath(
path,
duration
)
Returns the DATransform2 object.
Creates a DATransform2 object that is equal to the angle of the path's tangent while it is being traversed, translated by its position. This is equivalent to rotating the position by its derivative.
lib.FollowPathAngleEval(
path,
evaluator
)
Returns the DATransform2 object.
Creates a DATransform2 object that is equal to the angle of the path's tangent while it is being traversed, translated by its position. This is equivalent to rotating the position by its derivative.
lib.FollowPathAngle(
path,
duration
)
Returns the DATransform2 object.
Creates a DATransform2 object that is equal to the angle of the path's tangent while it is being traversed, translated by its position. This is equivalent to rotating the position by its derivative, except that the angle that is perpendicular to the X-axis (in local coordinates) will always be less than 180 degrees.
lib.FollowPathAngleUprightEval(
path,
evaluator
)
Returns the DATransform2 object.
Creates a DATransform2 object that is equal to the angle of the path's tangent while it is being traversed, translated by its position. This is equivalent to rotating the position by its derivative, except that the angle that is perpendicular to the X-axis (in local coordinates) will always be less than 180 degrees.
lib.FollowPathAngleUpright(
path,
duration
)
Returns the DATransform2 object.
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, rotates it by the given angle (expressed in radians).
lib.Rotate2Anim(
radians
)
Returns the DATransform2 object.
Rotations are counter-clockwise.
Same as Rotate2Anim except radians is a non-animated number (a double).
lib.Rotate2(
radians
)
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, rotates it by the given angle (expressed in degrees).
lib.Rotate2-Degrees(
degrees
)
Returns the DATransform2 object.
Rotations are counter-clockwise.
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, rotates it by the given angle (expressed in radians). This value is multiplied by LocalTime to determine the rotation rate.
lib.Rotate2Rate(
radians
)
Returns the DATransform2 object.
Rotations are counter-clockwise.
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, rotates it by the given angle (expressed in degrees). This value is multiplied by LocalTime to determine the rotation rate.
lib.Rotate2RateDegrees(
degrees
)
Returns the DATransform2 object.
Rotations are counter-clockwise.
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, scales it. For example, the transformation modifies the length of a vector by multiplying the vector's coordinates by the values of the corresponding number behaviors.
lib.Scale2Anim(
sx,
sy
)
Returns the DATransform2 object.
The units can either be meters or pixels, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Same as Scale2Anim except the parameter is a non-animated number (a double).
lib.Scale2(
sx,
sy
)
Creates a two-dimensional transformation behavior that, when applied to any two-dimensional object, scales it. The scaling rates are determined by multiplying each argument by LocalTime.
lib.Scale2Rate(
x,
y
)
Returns the DATransform2 object.
The units can either be meters per second or pixels per second, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Creates a two-dimensional transformation that applies a uniform scale to every coordinate of a two-dimensional object.
lib.Scale2UniformAnim(
uniformFactor
)
Returns the DATransform2 object.
The units can either be meters or pixels, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Same as Scale2UniformAnim except uniformFactor is a non-animated number (a double).
lib.Scale2Uniform(
uniformFactor
)
Creates a two-dimensional transformation that applies a uniform scale to every coordinate of a two-dimensional object. The scaling rate is determined by multiplying the argument by LocalTime.
lib.Scale2UniformRate(
rate
)
Returns a DATransform2 object representing the newly created transformation.
The units can either be meters per second or pixels per second, depending on whether the MeterLibrary or the PixelLibrary is selected.
Creates a two-dimensional transformation that, when applied to any two-dimensional vector, scales it. For example, the transformation modifies the location of a point by multiplying the point's coordinates by the values of the corresponding vector coordinates.
lib.Scale2Vector(
v
)
Returns the DATransform2 object.
Creates a two-dimensional transformation that consists of a 3 by 2 matrix (array) having the values specified by the given animated numbers.
lib.Transform3x2Anim(
matrix
)
Returns the DATransform2 object.
The X and Y translation components are given by a02 and a12, respectively.
Creates a two-dimensional transformation behavior that, when applied to a point, translates (moves) the point by the amount given by the animated numbers.
lib.Translate2Anim(
tx,
ty
)
Returns the DATransform2 object.
Two-dimensional vectors are unchanged by translations.
The units can either be meters or pixels, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Same as Translate2Anim except tx and ty are non-animated numbers (doubles).
lib.Translate2(
tx,
ty
)
Creates a two-dimensional transformation that, when applied to a point, translates (moves) the point to the new location loc.
lib.Translate2Point(
loc
)
Returns the DATransform2 object.
Creates a two-dimensional transformation that, when applied to a point, translates (moves) the point by the amount given by the arguments. The translation rates are determined by multiplying the arguments by LocalTime.
lib.Translate2Rate(
x,
y
)
Returns the DATransform2 object.
Two-dimensional vectors are unchanged by translations.
The units can either be meters per second or pixels per second, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Creates a two-dimensional transformation behavior that, when applied to a point, translates (moves) the point by the amount given by the vector.
lib.Translate2Vector(
v
)
Returns the DATransform2 object.
Two-dimensional vectors are unchanged by translations.
Creates a two-dimensional transformation that shears the x-axis either up or down. This means the X-coordinate of the points remains unchanged, and the Y-coordinate increases by the product of the X-coordinate and the shear factor. In other words, X2 = X1, and Y2 = Y1 + aX1, where a is the shear factor.
lib.XShear2Anim(
a
)
Returns the DATransform2 object.
The units can either be meters or pixels, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Same as XShear2Anim except that x is a non-animated number (a double).
lib.XShear2(
a
)
Creates a two-dimensional transformation that shears the x-axis either up or down. The shear rate is determined by multiplying the argument by LocalTime.
lib.XShear2Rate(
rate
)
Returns the DATransform2 object.
The units can either be meters/second or pixels/second, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Creates a two-dimensional transformation that shears the y-axis either left or right. This means the Y-coordinate of the points remains unchanged, and the X-coordinate increases by the product of the Y-coordinate and the shear factor. In other words, Y2 = Y1 and X2 = X1 + aY1, where a is the shear factor.
lib.YShear2Anim(
a
)
Returns the DATransform2 object.
The units can either be meters or pixels, depending on whether the MeterLibrary or the PixelLibrary is selected. If the PixelLibrary is selected, remember that positive Y is down.
Same as YShear2Anim except that y is a non-animated number (a double).
lib.YShear2(
a
)
Creates a two-dimensional transformation that shears the y-axis either left or right. The shear rate is determined by multiplying the argument by LocalTime.
lib.YShear2Rate(
rate
)
Returns the DATransform2 object.
The units can either be meters/second or pixels/second, depending on whether the MeterLibrary or the PixelLibrary is selected.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.