Class Image

All Implemented Interfaces:
Element

public non-sealed class Image extends ImagePropComponent
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • render

      public Element render()
      Specified by:
      render in class Component
    • paintSvg

      public static void paintSvg(io.github.humbleui.skija.Canvas canvas, Layout layout, io.github.humbleui.skija.svg.SVGDOM svg, Image.Fit fit)
    • paintSvg

      public static void paintSvg(io.github.humbleui.skija.Canvas canvas, Layout layout, io.github.humbleui.skija.svg.SVGDOM svg, Image.Fit fit, float imgHeight, float imgWidth)
    • paintRaster

      public static void paintRaster(io.github.humbleui.skija.Canvas canvas, Layout layout, io.github.humbleui.skija.Image img, Image.Fit fit)