Scripting API

Scripting API

LengthUnits

Class in Abyss.Core, from Abyss.Core.

Names a LengthUnit as a clip file writes it.

public static class LengthUnits

Methods

NameOf

public static string NameOf(LengthUnit unit)

As a file writes it: px, %, vw, vh, vmin, vmax, em or rem.

Parameters

  • unit

Named

public static LengthUnit? Named(string name)

The unit a file names; null for what names none.

Parameters

  • name