enum Crame::Font::Style

Overview

An enum flag listing all possible style for the Font.

Defined in:

crame/font.cr

Enum Members

Normal = 0
Bold = 1
Italic = 2
Underline = 4
Strikethrough = 8
None = 0
All = 15

Instance Method Summary

Instance Method Detail

def bold? #

Returns true if this enum value contains Bold


def italic? #

Returns true if this enum value contains Italic


def none? #

def normal? #

Returns true if this enum value contains Normal


def strikethrough? #

Returns true if this enum value contains Strikethrough


def underline? #

Returns true if this enum value contains Underline