Returns a copy of this paint.
Retrieves the alpha and RGB unpremultiplied. RGB are extended sRGB values (sRGB gamut, and encoded with the sRGB transfer function).
Returns the geometry drawn at the beginning and end of strokes.
Returns the geometry drawn at the corners of strokes.
Returns the limit at which a sharp corner is drawn beveled.
Returns the thickness of the pen used to outline the shape.
Replaces alpha, leaving RGBA unchanged. 0 means fully transparent, 1.0 means opaque.
Requests, but does not require, that edge pixels draw opaque or with partial transparency.
Sets the current blender, increasing its refcnt, and if a blender is already present, decreasing that object's refcnt.
A nullptr blender signifies the default SrcOver behavior.
For convenience, you can call setBlendMode() if the blend effect can be expressed as one of those values.
Sets the blend mode that is, the mode used to combine source color with destination color.
Sets alpha and RGB used when stroking and filling. The color is four floating point values, unpremultiplied. The color values are interpreted as being in the provided colorSpace.
OptionalcolorSpace: ColorSpacedefaults to sRGB
Sets alpha and RGB used when stroking and filling. The color is four floating point values, unpremultiplied. The color values are interpreted as being in the provided colorSpace.
OptionalcolorSpace: ColorSpacedefaults to sRGB
Sets the current color filter, replacing the existing one if there was one.
Sets the color used when stroking and filling. The color values are interpreted as being in the provided colorSpace.
OptionalcolorSpace: ColorSpacedefaults to sRGB.
Requests, but does not require, to distribute color error.
Sets the current image filter, replacing the existing one if there was one.
Sets the current mask filter, replacing the existing one if there was one.
Sets the current path effect, replacing the existing one if there was one.
Sets the current shader, replacing the existing one if there was one.
Sets the geometry drawn at the beginning and end of strokes.
Sets the limit at which a sharp corner is drawn beveled.
Sets the thickness of the pen used to outline the shape.
See SkPaint.h for more information on this class.