Lines Matching defs:color
100 static void setLayerBorderColor(WKCACFLayer* layer, const Color& color)
102 layer->setBorderColor(cachedCGColor(color, ColorSpaceDeviceRGB));
110 static void setLayerBackgroundColor(WKCACFLayer* layer, const Color& color)
112 layer->setBackgroundColor(cachedCGColor(color, ColorSpaceDeviceRGB));
275 void GraphicsLayerCACF::setBackgroundColor(const Color& color)
277 if (m_backgroundColorSet && m_backgroundColor == color)
280 GraphicsLayer::setBackgroundColor(color);
399 void GraphicsLayerCACF::setDebugBackgroundColor(const Color& color)
401 if (color.isValid())
402 setLayerBackgroundColor(m_layer.get(), color);
407 void GraphicsLayerCACF::setDebugBorder(const Color& color, float borderWidth)
409 if (color.isValid()) {
410 setLayerBorderColor(m_layer.get(), color);
652 // We never create the contents layer just for background color yet.