TX Sheet Control

ShapeShadow Interface

Interface

Optional shadow color, opacity, offset and blur applied to a shape.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
angleThe angle value of ShapeShadow.
blurThe blur value of ShapeShadow.
colorThe color value of ShapeShadow.
distanceThe distance value of ShapeShadow.
opacityThe opacity value of ShapeShadow.

Examples

Pass the ShapeShadow value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { ShapeShadow } from '@txtextcontrol/tx-sheet-control';

function inspectShapeShadowColor(shapeShadow: ShapeShadow) {
    const value = shapeShadow['color'];
    console.log('ShapeShadow.color', value);
}

See Also