S or /

SourceClass ClippedPrimitive

from egui import ClippedPrimitive
class ClippedPrimitive:

A Mesh or PaintCallback within a clip rectangle.

Everything is using logical points.

Properties§

@property def clip_rect(self, /) -> Rect§
@clip_rect.setter def clip_rect(self, /, clip_rect: Rect) -> None§

Methods§

def primitive(self, /) -> Mesh |None§
def primitive_kind(self, /) -> str§