Attribute.asFloat

Returns the attribute cast to pango.attr_float.AttrFloat.

This is mainly useful for language bindings.

class Attribute
asFloat
()

Return Value

Type: pango.attr_float.AttrFloat

The attribute as pango.attr_float.AttrFloat, or null if it's not a floating point attribute