beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CanvasInfo Op

Ops.Gl.CanvasInfo


CanvasInfo
Collections:dataInfo  
Namespace: Ops.Gl

Op author: pandur

Test Patches: 3 Tests

the size of the canvas in pixels, aspect ratio and pixel density




Inputs

Pixel Unit index (integer /Number)

Outputs

width (Number)
height (Number)
Pixel Ratio (Number)
Aspect Ratio (Number)
Landscape (boolean Number)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

canvasinfo example

Open Example In Editor

Patches using CanvasInfo

Changelog


new output: landscape - true if canvas width > height
2019-02-20 - pandur
Ops.Gl.CanvasSize renamed to Ops.Gl.CanvasInfo
2019-11-05 - pandur