mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/1170963003.
15 lines
504 B
Plaintext
15 lines
504 B
Plaintext
// 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.
|
|
|
|
[
|
|
ImplementedAs=CanvasGradient,
|
|
PrivateDart,
|
|
Constructor()
|
|
] interface Gradient : Shader {
|
|
void initLinear(Point[] endPoints, Color[] colors, float[] colorStops,
|
|
TileMode tileMode);
|
|
void initRadial(Point center, double radius, Color[] colors,
|
|
float[] colorStops, TileMode tileMode);
|
|
};
|