LineShapeOptions

See source code
Table of contents

Extends ShapeOptionsWithDisplayValues<TLLineShape, LineShapeUtilDisplayValues>.

interface LineShapeOptions extends ShapeOptionsWithDisplayValues<
  TLLineShape,
  LineShapeUtilDisplayValues
> {}

Methods

getCustomDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

Partial<DisplayValues>;

getDefaultDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

DisplayValues;

Prev
ImageShapeUtilDisplayValues
Next
LineShapeUtilDisplayValues