class SkReadBuffer; class SkWriteBuffer; struct SkStageRec;
/** \class SkColorShader A Shader that represents a single color. In general, this effect can be accomplished by just using the color field on the paint, but if an actual shader object is needed, this provides that feature.
*/ class SkColorShader : public SkShaderBase { public: /** Create a ColorShader that ignores the color in the paint, and uses the specified color. Note: like all shaders, at draw time the paint's alpha will be respected, and is applied to the specified color.
*/ explicit SkColorShader(SkColor c);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.