TXFACanvasWidgetPainter.PaintWidget

Unit: HPDFXFAPresentation

procedure PaintWidget(const State: TXFAWidgetState;
  const Accessibility: TXFAAccessibilityNode); override;

Clips painting to the widget rectangle, masks password text and restores the canvas font, pen, brush and drawing context

See Dynamic XFA Instance Presentation for binding and selector rules, supported event syntax, budget defaults, transactional publication, persistence, painting and compatibility boundaries