import { type SkPaint } from "https://deno.land/x/canvas@v1.0.0/mod.ts";
See SkPaint.h for more information on this class.
Methods
Returns the blend mode, that is, the mode used to combine source color with destination color.
Retrieves the alpha and RGB unpremultiplied. RGB are extended sRGB values (sRGB gamut, and encoded with the sRGB transfer function).
Returns the image filtering level. [deprecated] This will be removed in an upcoming release.
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.
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.
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.
Sets the image filtering level. [deprecated] This will be removed in an upcoming release.
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.