Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1065)

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl

Issue 2826773002: Rename CanvasPathMethods to CanvasPath (Closed)
Patch Set: x Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 attribute unrestricted double shadowOffsetX; 83 attribute unrestricted double shadowOffsetX;
84 attribute unrestricted double shadowOffsetY; 84 attribute unrestricted double shadowOffsetY;
85 attribute unrestricted double shadowBlur; 85 attribute unrestricted double shadowBlur;
86 attribute DOMString shadowColor; 86 attribute DOMString shadowColor;
87 87
88 // rects 88 // rects
89 void clearRect(unrestricted double x, unrestricted double y, unrestricted do uble width, unrestricted double height); 89 void clearRect(unrestricted double x, unrestricted double y, unrestricted do uble width, unrestricted double height);
90 void fillRect(unrestricted double x, unrestricted double y, unrestricted dou ble width, unrestricted double height); 90 void fillRect(unrestricted double x, unrestricted double y, unrestricted dou ble width, unrestricted double height);
91 void strokeRect(unrestricted double x, unrestricted double y, unrestricted d ouble width, unrestricted double height); 91 void strokeRect(unrestricted double x, unrestricted double y, unrestricted d ouble width, unrestricted double height);
92 92
93 // path API (see also CanvasPathMethods) 93 // path API (see also CanvasPath)
94 void beginPath(); 94 void beginPath();
95 void fill(optional CanvasFillRule winding); 95 void fill(optional CanvasFillRule winding);
96 void fill(Path2D path, optional CanvasFillRule winding); 96 void fill(Path2D path, optional CanvasFillRule winding);
97 void stroke(); 97 void stroke();
98 void stroke(Path2D path); 98 void stroke(Path2D path);
99 // Focus rings 99 // Focus rings
100 void drawFocusIfNeeded(Element element); 100 void drawFocusIfNeeded(Element element);
101 void drawFocusIfNeeded(Path2D path, Element element); 101 void drawFocusIfNeeded(Path2D path, Element element);
102 102
103 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(optional Path2D path); 103 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(optional Path2D path);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 attribute unrestricted double lineDashOffset; 149 attribute unrestricted double lineDashOffset;
150 150
151 // text 151 // text
152 attribute DOMString font; // (default 10px sans-serif) 152 attribute DOMString font; // (default 10px sans-serif)
153 attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start") 153 attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start")
154 attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic ", "ideographic", "bottom" (default: "alphabetic") 154 attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic ", "ideographic", "bottom" (default: "alphabetic")
155 [RuntimeEnabled=ExperimentalCanvasFeatures] attribute DOMString direction; / / "inherit", "rtl", "ltr" (default: "inherit") 155 [RuntimeEnabled=ExperimentalCanvasFeatures] attribute DOMString direction; / / "inherit", "rtl", "ltr" (default: "inherit")
156 156
157 }; 157 };
158 158
159 CanvasRenderingContext2D implements CanvasPathMethods; 159 CanvasRenderingContext2D implements CanvasPath;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/CanvasPathMethods.idl ('k') | third_party/WebKit/Source/modules/canvas2d/Path2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698