paint abstract method

void paint(
  1. Canvas canvas,
  2. Size size,
  3. MongolRenderEditable renderEditable
)

Paints within the bounds of a MongolRenderEditable.

The given Canvas has the same coordinate space as the MongolRenderEditable, which may be different from the coordinate space the MongolRenderEditable's MongolTextPainter uses, when the text moves inside the MongolRenderEditable.

Paint operations performed outside of the region defined by the canvas's origin and the size parameter may get clipped, when MongolRenderEditable's MongolRenderEditable.clipBehavior is not Clip.none.

Implementation

void paint(Canvas canvas, Size size, MongolRenderEditable renderEditable);