CanvasInfo_v3 Op

CanvasInfo

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



Edit Documentation
Full Name
  • Ops.Gl.CanvasInfo_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
Author


OUTPUT PORTS


CSS Width (Number)
CSS Height (Number)
Pixel Ratio (Number)
Pixel Width (Number)
Pixel Height (Number)
Aspect Ratio (Number)
Landscape (boolean Number)
Canvas (Object)
Canvas Parent (Object)

Patches using CanvasInfo_v3

  • Examples
  • Public
  • My Patches

Changelog


featurenew output: landscape - true if canvas width > heightuser avatarpandur - 2019-02-20 07:32
featureFixed HDPI/Retina calculation of pixel numbersuser avatarpandur - 2024-02-23 14:16