copy


Description:

public Color? copy ()

Creates a copy of this.

The copy should be freed with [method@Pango.Color.free]. Primarily used by language bindings, not that useful otherwise (since colors can just be copied by assignment in C).

Parameters:

this

color to copy

Returns:

the newly allocated `PangoColor`, which should be freed with [method@Pango.Color.free]