Home » HTML » HTML Graphics » Question
  1. The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.
    1. clip()
    2. get()
    3. fill()
    4. stroke()
    5. None of these
Correct Option: A

The path one defines is drawn by stroke() method. Any region/shape or size in canvas is clipped by clip(). The fill() method fills the current drawing (path). The default color is black. There is no method like get().



Your comments will be displayed only after manual approval.