mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
R=abarth@chromium.org, ianh@google.com, abarth Review URL: https://codereview.chromium.org/1174203002
15 lines
457 B
Plaintext
15 lines
457 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.
|
|
|
|
[
|
|
Constructor(),
|
|
ImplementedAs=CanvasPath,
|
|
] interface Path {
|
|
void moveTo(float x, float y);
|
|
void lineTo(float x, float y);
|
|
void arcTo(Rect rect, float startAngle, float sweepAngle, boolean forceMoveTo); // angles in radians
|
|
void addOval(Rect oval);
|
|
void close();
|
|
};
|