Codec.Tiled.Object.Text
data Text Source #
Constructors
Fields
Whether to use a bold font (default: false)
Hex-formatted color (AARRGGBB) (default: #000000)
Font family (default: sans-serif)
Horizontal alignment (center, right, justify or left (default))
Whether to use an italic font (default: false)
Whether to use kerning when placing characters (default: true)
Pixel size of font (default: 16)
Whether to strike out the text (default: false)
Text
Whether to underline the text (default: false)
Vertical alignment (center, bottom or top (default))
Whether the text is wrapped within the object bounds (default: false)
Defined in Codec.Tiled.Object.Text
Methods
(==) :: Text -> Text -> Bool #
(/=) :: Text -> Text -> Bool #
showsPrec :: Int -> Text -> ShowS #
show :: Text -> String #
showList :: [Text] -> ShowS #
Associated Types
type Rep Text :: Type -> Type #
from :: Text -> Rep Text x #
to :: Rep Text x -> Text #
toJSON :: Text -> Value #
toEncoding :: Text -> Encoding #
toJSONList :: [Text] -> Value #
toEncodingList :: [Text] -> Encoding #
parseJSON :: Value -> Parser Text #
parseJSONList :: Value -> Parser [Text] #
empty :: Text Source #