CanvasInfo_v2 Op

CanvasInfo

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.CanvasInfo_v3

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



Full Name
  • Ops.Gl.CanvasInfo_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub








No op example found on this server

INPUT PORTS


Pixel Unit index (Number:

<i>integer</i>

)
 Display  CSS 

OUTPUT PORTS


width (Number)
height (Number)
Pixel Ratio (Number)
Pixel Width (Number)
Pixel Height (Number)
Aspect Ratio (Number)
Landscape (

<i>boolean</i>

Number)

Canvas (Object)
Canvas Parent (Object)

Patches using CanvasInfo_v2

  • Examples
  • Public
  • My Patches

Changelog


new output: landscape - true if canvas width > heightuser avatarpandur - 2019-02-20 07:32
Ops.Gl.CanvasSize renamed to Ops.Gl.CanvasInfouser avatarpandur - 2019-11-05 08:36
cloned op from Ops.Gl.CanvasInfouser avatarpandur - 2023-11-28 20:41
renameOps.Patch.PJUYkmM.CanvasInfo2 renamed to Ops.Gl.CanvasInfo_v2user avatarpandur - 2023-11-28 20:42