public void SetCircle(ref AppMain.AOS_ACT_CIRCLE circle) { this.rect.left = circle.center_x; this.rect.top = circle.center_y; this.rect.right = circle.radius; this.rect.bottom = (float)circle.pad; }
public void GetCircle(ref AppMain.AOS_ACT_CIRCLE circle) { circle.center_x = this.rect.left; circle.center_y = this.rect.top; circle.radius = this.rect.right; circle.pad = (uint)this.rect.bottom; }