droidcon SF 2017 - Canvas Drawing for Fun and Profit

  Рет қаралды 14,495

droidcon SF

droidcon SF

Күн бұрын

Пікірлер: 15
@0877adri
@0877adri 5 жыл бұрын
i love this guy :-) I made seom notes, maybe useful for someone Canvas: can be used via View, Drawable or can be created from a Bitmap. Path: a cache of multiple canvas commands onChangeBounds: update Path object to new measurements canvas.clip(): the defined clipped area will not be ignored for all canvas drawings. Untill the canvas is restored to a state before the clip. Save restore: is like a big stack of undo. Like each restore goes to the previous save state in the stack. Save and restore makes it possible to just draw what u want to draw and dont worry about the positioning, as it is handled already with the rotation and translation of the canvas. If we want for example a smaller version of our drawing, we can just use canvas.scale and all our drawings become smaller. Scale: scale all future draw calls by the specified amount. Methods to save and restore: translate, rotate, clip. If Canvas is not restored it will be passed on to the next view with this modification and will brake the drawing of the next View. PathEffect: modifies how a path is drawn. ComposePathEffect: only one pathEffect can be applied, with this multiple effects can be combined. The order they are applied are from last to first.
@mubin986
@mubin986 6 жыл бұрын
It was a great instruction for canvas drawing. Thank you Mr. Ryan Harter
@danielsenik2432
@danielsenik2432 3 жыл бұрын
will absolutely use it, if needed at some point.
@christopherelias8022
@christopherelias8022 4 жыл бұрын
Great Talk! Awesome speaker, and the finale was worthy of an oscar hahaha.
@damercy
@damercy 3 жыл бұрын
What an explanation. Loved it!
@themightymemearmy8001
@themightymemearmy8001 4 жыл бұрын
Not all heroes wear capes, some of them just love donuts
@shoaibahmad6910
@shoaibahmad6910 6 жыл бұрын
Absolutely brilliant stuff for canvas illiterates like me. Sadly there is no official documentation which helps you that much. I will apply those techniques to Flutter canvas as well.
@caseyshaneperkins
@caseyshaneperkins 5 жыл бұрын
The clipped hole Path renders jaggedly. I can set ANTI_ALIAS_FLAG on a Paint and get a smooth circle, but if I can't draw a smooth hole in the circle, this technique is not useful.
@kaustubhpatange
@kaustubhpatange 3 жыл бұрын
All I took from this talk is Ryan loves his donuts!
@subhrajyotisen7218
@subhrajyotisen7218 6 жыл бұрын
Great talk!
@lui970
@lui970 5 жыл бұрын
Thanks a lot!
@iheb404-notfound3
@iheb404-notfound3 4 жыл бұрын
You Are God
droidcon SF 2017 - Transitions without Activities or Fragments
40:16
Android Canvas in Depth
43:29
Novoda
Рет қаралды 28 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
droidcon SF 2017 - Advanced animations with ConstraintLayout
43:12
Don’t Fear the Canvas - Matt Precious
25:48
Android KW
Рет қаралды 18 М.
droidcon NYC 2017 - ViewModels, LiveData and Lifecycles, oh my!
40:48
Drawn out: How Android renders (Google I/O '18)
36:03
Android Developers
Рет қаралды 50 М.
Making Retrofit Work For You by Jake Wharton
57:55
GDG Cincinnati
Рет қаралды 26 М.
Joshua Lamson - Custom Drawing with Canvas
48:44
John Wilker (360Conferences)
Рет қаралды 8 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН