or null if it's not a shape attribute
Attribute.asShape
pango.attr_shape.AttrShape asShape()Returns the attribute cast to [pango.attr_shape.AttrShape].
This is mainly useful for language bindings.
Returns
The attribute as [pango.attr_shape.AttrShape],