ShapeGradient Interface
A shape-fill gradient definition retained by native geometry and shared rendering.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
Examples
Pass the ShapeGradient value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ShapeGradient } from '@txtextcontrol/tx-sheet-control';
function inspectShapeGradientColor(shapeGradient: ShapeGradient) {
const value = shapeGradient['color'];
console.log('ShapeGradient.color', value);
}