Introducing Strokes In Shape Drawing Methods
Bonus: The practice files completed folder contains all the examples used in the video.
This lesson gives you an overview of using strokes in the EaselJS Graphics class predefined shape drawing methods.
These are the drawCircle, drawEllipse, drawRect, drawRoundedRect, drawRoundRectComplex and drawPolyStar.
You survey all the stroke drawing methods and divide the learning process between those that apply to predefined graphic shape drawing methods and those more useful for custom graphic drawing.
The concept of the drawing path is introduced and you see how to include a path when drawing predefined shapes.
You look examine the arguments for the beginStroke and setStrokeStyle methods for drawing strokes for the predefined graphic shape drawing methods.
You are also investigate the order of using the beginStroke, setStrokeStyle, beginFill, endFill and endStroke methods when used with the predefined graphic shape drawing methods.
This lesson prepares you for the other lessons in this section and future sections focused on strokes and fills.
0 comments