blob: 2f239df4561758dc7fa55af9e29064c02ad2c2d3 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
Constructor(),
] interface Paint {
attribute float strokeWidth;
attribute boolean isAntiAlias;
attribute Color color;
// TODO(mpcomplete): remove this in favor of assigning to |color|.
void setARGB(unsigned long a, unsigned long r, unsigned long g, unsigned long b);
void setDrawLooper(DrawLooper looper);
void setColorFilter(ColorFilter filter);
void setMaskFilter(MaskFilter filter);
void setShader(Shader shader);
void setStyle(PaintingStyle style);
void setTransferMode(TransferMode transferMode);
};