Attribute.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],

or null if it's not a shape attribute