Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
→‎set: Added set for canvas (someone who knows might wanna remove those that cannot be used after init.)
(→‎set: Added set for canvas (someone who knows might wanna remove those that cannot be used after init.))
Line 55: Line 55:


Returns the canvas with the specified name.
Returns the canvas with the specified name.
=== set ===
'''Parameters:''' (setting, value)
Not sure all the below settings can be used after initialization.
Settings can be:
"name" string
"size" vector of size 2 with ints
"view" vector of size 2 with ints
"mipmapping" bool
"additive-blend" bool
"coverage-samples" int
"color-samples" int
"freeze" bool
"render-always" bool
"update" bool
=== parsesvg ===
=== parsesvg ===
'''Parameters:''' (group, file)
'''Parameters:''' (group, file)
574

edits

Navigation menu