namespace Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.RotatedRectangle;

public class RotatedRectangleAnchorNode:INode
{
    private readonly RotatedRectangleElement _owner;

    public RotatedRectangleAnchorNode(RotatedRectangleElement owner)
    {
        _owner = owner;
    }

    public void SetPosition(Vector2 position)
    {
        
        _owner.Location=position-_owner.Offset;
        
    }
}