enum Pango::Variant

Overview

An enumeration specifying capitalization variant of the font.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/pango.cr

Enum Members

Normal = 0_u32

A normal font.

SmallCaps = 1_u32

A font with the lower case characters replaced by smaller variants of the capital characters.

AllSmallCaps = 2_u32

A font with all characters replaced by smaller variants of the capital characters. Since: 1.50

PetiteCaps = 3_u32

A font with the lower case characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50

AllPetiteCaps = 4_u32

A font with all characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50

Unicase = 5_u32

A font with the upper case characters replaced by smaller variants of the capital letters. Since: 1.50

TitleCaps = 6_u32

A font with capital letters that are more suitable for all-uppercase titles. Since: 1.50

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def all_petite_caps? #

[View source]
def all_small_caps? #

[View source]
def normal? #

[View source]
def petite_caps? #

[View source]
def small_caps? #

[View source]
def title_caps? #

[View source]
def unicase? #

[View source]