Lines Matching defs:paint
203 const SkPaint* paint = std::get_if<SkPaint>(&fForeground);
204 return paint ? *paint : SkPaint();
209 void setForegroundPaint(SkPaint paint) {
211 fForeground = std::move(paint);
214 void setForegroundColor(SkPaint paint) { setForegroundPaint(paint); }
215 // Set the foreground to a paint ID. This is intended for use by clients
225 const SkPaint* paint = std::get_if<SkPaint>(&fBackground);
226 return paint ? *paint : SkPaint();
231 void setBackgroundPaint(SkPaint paint) {
233 fBackground = std::move(paint);
236 void setBackgroundColor(SkPaint paint) { setBackgroundPaint(paint); }