API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceSvgAssetOptions

@codexo/exojs / assets / stable

Options accepted by an asset of the built-in `svg` type.

2
props
0
methods
0
events
Import
import { SvgAssetOptions } from '@codexo/exojs'

Options accepted by an asset of the built-in `svg` type.

Properties2
height?: number
Render height in pixels. See width.
width?: number
Render width in pixels, written into the root <svg> element before the browser rasterises it. A file carrying only a viewBox has no intrinsic size and rasterises as a 0x0 image; giving it a width and height here is what fixes that.
Source