OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 Constructor(), | 6 Constructor(), |
7 ] interface DrawLooperLayerInfo { | 7 ] interface DrawLooperLayerInfo { |
8 // Specifies which aspects of the layer's paint should replace the | 8 // Specifies which aspects of the layer's paint should replace the |
9 // corresponding aspects on the draw's paint. Use PaintBits, defined in | 9 // corresponding aspects on the draw's paint. Use PaintBits, defined in |
10 // DrawLooperLayerInfo.dart. | 10 // DrawLooperLayerInfo.dart. |
11 void setPaintBits(unsigned long bits); | 11 void setPaintBits(unsigned long bits); |
12 void setColorMode(TransferMode mode); | 12 void setColorMode(TransferMode mode); |
13 // TODO(eseidel): Offset should be a Size not a Point. | 13 void setOffset(Offset offset); |
14 void setOffset(Point offset); | |
15 void setPostTranslate(boolean postTranslate); | 14 void setPostTranslate(boolean postTranslate); |
16 }; | 15 }; |
OLD | NEW |