clip property

  1. @override
PRectangle? get clip
override

Returns the current drawing clip.

Implementation

@override
PRectangle? get clip => _clip;
  1. @override
set clip (PRectangle? clip)
override

Sets the drawing clip.

  • Note that the clip won't be merged with the previouse clip (the clip coordinates are always global).
  • See subClip.

Implementation

@override
set clip(PRectangle? clip) {
  _clip = clip;
}