Beispiel #1
0
 /// <summary>
 /// Gets the position of the component.
 /// </summary>
 public Vector2 GetPosition(Rectangle bounds, Rectangle parentBounds)
 {
     return(AnchorPoint.ToVector2() - new Vector2(OffsetX, OffsetY));
 }