enum

Tput::Namespace::HighDpiScaleFactorRoundingPolicy

Inherits Enum / Comparable / Value / Object

Constants

Unset = 0
Round = 1
Ceil = 2
Floor = 3
RoundPreferFloor = 4
PassThrough = 5

Instance methods

ceil?

Returns true if this enum value equals Ceil

Source
floor?

Returns true if this enum value equals Floor

Source
pass_through?

Returns true if this enum value equals PassThrough

Source
round?

Returns true if this enum value equals Round

Source
round_prefer_floor?

Returns true if this enum value equals RoundPreferFloor

Source
unset?

Returns true if this enum value equals Unset

Source