ImGui.DrawList:getCircleSegmentMaxError

From GiderosMobile
Revision as of 15:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2020.9
Class: ImGui.DrawList

Description

Gets the maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. <syntaxhighlight lang="lua"> (number) = ImGui.DrawList:getCircleSegmentMaxError() </source>

Return values

Returns (number) the circle maximum segment error

Example

<syntaxhighlight lang="lua"> </source>