SpriteFrame.DrawOffset Property
Definition¶
Namespace: Brine2D.Animation
Pixel offset applied to the sprite's draw position for this frame.
Used by AnimationSystem to compensate for
Aseprite trim offsets (spriteSourceSize) so that trimmed frames appear at the
correct canvas-relative position. Zero by default (no offset).
public System.Numerics.Vector2 DrawOffset { get; set; }