Interface ITransformable
Represents a fluent interface object that is in a drawable state, but can also be scaled and rotated
in addition to the operations possible on a IConstructedDrawable type
Contains methods for those scaling and rotation operations
The fluent type interface is designed for simple, rapid, iterative shape drawing
Namespace: Yak2D
Assembly: Yak2D.Api.dll
public interface ITransformable : IConstructedDrawable
Methods
Return a drawable (transformable) shape object with identical parameters except rotated
Declaration
ITransformable Rotate(float angle_clockwise_radians)
Parameters
| Type |
Name |
Description |
| System.Single |
angle_clockwise_radians |
Angle to rotate the shape
|
Returns
Declaration
ITransformable Scale(float xScaling, float yScaling)
Parameters
| Type |
Name |
Description |
| System.Single |
xScaling |
|
| System.Single |
yScaling |
|
Returns