mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-07 23:15:52 +01:00
Updated Draw List (markdown)
parent
5ab91e9f8a
commit
e030874344
@ -54,6 +54,8 @@ These flags are used to position the stroke relative to the path of the shape. T
|
||||
- **ImDrawFlags_StrokeOutside**: stroke is expanded left of the path
|
||||
- **ImDrawFlags_StrokeLegacy**: stroke position mimicks the old API behavior (may differ per function)
|
||||
|
||||

|
||||
|
||||
### Default Stroke Position
|
||||
|
||||
In order to keep the common use intuitive to use (and to help with the migration from pre 1.93 API), the default stroke position is different for the two groups of shapes.
|
||||
@ -66,8 +68,6 @@ In order to keep the common use intuitive to use (and to help with the migration
|
||||
|
||||
The Default Stroke Position may be overidden by passing one of the dedicated `ImDrawFlags` value to any function.
|
||||
|
||||

|
||||
|
||||
## Stroke Options
|
||||
|
||||
- **ImDrawFlags_Closed**: This option closes the path by drawing a line from first to last point. Applies to `AddPolyline()`and `PathStroke()`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user