:right-sidebar: True PathForeachFlags =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.14 .. class:: PathForeachFlags :no-contents-entry: Flags that can be passed to :func:`~gi.repository.Gsk.Path.foreach` to influence what kinds of operations the path is decomposed into. By default, :obj:`~gi.repository.Gsk.Path.foreach` will only emit a path with all operations flattened to straight lines to allow for maximum compatibility. The only operations emitted will be ``GSK_PATH_MOVE``, ``GSK_PATH_LINE`` and ``GSK_PATH_CLOSE``. Fields ------ .. rst-class:: interim-class .. class:: PathForeachFlags :no-index: .. attribute:: CONIC Allow emission of ``GSK_PATH_CONIC`` operations. .. attribute:: CUBIC Allow emission of ``GSK_PATH_CUBIC`` operations. .. attribute:: ONLY_LINES The default behavior, only allow lines. .. attribute:: QUAD Allow emission of ``GSK_PATH_QUAD`` operations