public override void RenderPad(Graphics graphics, RectangleF bounds, GesturePadState state, int index) { graphics.SmoothingMode = SmoothingMode.AntiAlias; graphics.DrawEllipse(padPen, bounds); if (state.HasFlag(GesturePadState.Inputted)) { float inflationAmount = bounds.Width * 0.3f; var innerRect = bounds; innerRect.Inflate(-inflationAmount, -inflationAmount); graphics.FillEllipse(activeBrush, innerRect); } }
public abstract void RenderPad(Graphics graphics, RectangleF bounds, GesturePadState state, int index);