OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 part of dart.sky; |
| 6 |
| 7 /// Paint masks for DrawLooperLayerInfo.setPaintBits. These specify which |
| 8 /// aspects of the layer's paint should replace the corresponding aspects on |
| 9 /// the draw's paint. |
| 10 /// |
| 11 /// PaintBits.all means use the layer's paint completely. |
| 12 /// 0 means ignore the layer's paint... except for colorMode, which is |
| 13 /// always applied. |
| 14 class PaintBits { |
| 15 static const int style = 0x1; |
| 16 static const int testSkewx = 0x2; |
| 17 static const int pathEffect = 0x4; |
| 18 static const int maskFilter = 0x8; |
| 19 static const int shader = 0x10; |
| 20 static const int colorFilter = 0x20; |
| 21 static const int xfermode = 0x40; |
| 22 static const int all = 0xFFFFFFFF; |
| 23 } |
OLD | NEW |