Transformable.Origin Property

SFML.Net

TransformableOrigin Property
The origin of an object defines the center point for all transformations (position, scale, rotation). The coordinates of this point must be relative to the top-left corner of the object, and ignore all transformations (position, scale, rotation).

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Vector2f Origin { get; set; }
Public Property Origin As Vector2f
	Get
	Set
public:
property Vector2f Origin {
	Vector2f get ();
	void set (Vector2f value);
}
member Origin : Vector2f with get, set

Property Value

Type: Vector2f
See Also