enum ImGui::ImDrawFlags

Overview

enum ImDrawFlags_

Defined in:

types.cr

Enum Members

None = 0
Closed = 1

PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)

RoundCornersTopLeft = 16

AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.

RoundCornersTopRight = 32

AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.

RoundCornersBottomLeft = 64

AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.

RoundCornersBottomRight = 128

AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.

RoundCornersNone = 256

AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!

RoundCornersTop = 48
RoundCornersBottom = 192
RoundCornersLeft = 80
RoundCornersRight = 160
RoundCornersAll = 240
RoundCornersDefault_ = 240

Default to ALL corners if none of the _RoundCornersXX flags are specified.

RoundCornersMask_ = 496

Instance Method Summary

Instance Method Detail

def closed? #

[View source]
def none? #

[View source]
def round_corners_all? #

[View source]
def round_corners_bottom? #

[View source]
def round_corners_bottom_left? #

[View source]
def round_corners_bottom_right? #

[View source]
def round_corners_default_? #

[View source]
def round_corners_left? #

[View source]
def round_corners_mask_? #

[View source]
def round_corners_none? #

[View source]
def round_corners_right? #

[View source]
def round_corners_top? #

[View source]
def round_corners_top_left? #

[View source]
def round_corners_top_right? #

[View source]