Function LinearGradient.getLinearPoints

Gets the gradient endpoints for a linear gradient.

Prototype

Point!(double)[2] getLinearPoints();

Returns

Point[0] = the first point

Point[1] = the second point

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1