Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
→‎set: added clip-frame
(→‎set: added clip-frame)
Line 217: Line 217:


'''Example:''' my_grp.set("clip", "rect(62px, 587px, 262px, 437px)"); # top,right,bottom,left
'''Example:''' my_grp.set("clip", "rect(62px, 587px, 262px, 437px)"); # top,right,bottom,left
''key = "clip-frame"''
Sets the coordinate system to be used for clip coordinates.
Can be canvas.Element.GLOBAL (the default value), canvas.Element.PARENT or canvas.Element.LOCAL


''key = "font"''
''key = "font"''
574

edits

Navigation menu