ShapeFill

Overview

ShapeFill is a interface in Aspose.Cells FOSS for Typescript.

ShapeFill describes how a shape is painted, supporting solid colors, scheme colors, gradient stops, gradient angle, and luminance adjustments.

Properties: color, gradientAngle, gradientStops, isSchemeColor, lumMod, lumOff, and 2 more.

Description

ShapeFill is an interface in Aspose.Cells FOSS for TypeScript that defines a contract with 0 methods. Classes that implement this interface must provide concrete implementations for all declared operations.

Core capabilities include: : "solid" \; : string; : boolean`. These operations enable developers to integrate shapefill functionality directly into TypeScript applications.

The class also provides the type property (gets the type), the color property (gets the color), the isSchemeColor property (gets the is scheme color).

Properties

NameTypeAccessDescription
type: "solid" | "gradient" | "none"ReadGets the type.
color: stringReadGets the color.
isSchemeColor: booleanReadGets the is scheme color.
gradientStops`: Array<{
position: number;

color: string;

isSchemeColor?: boolean;

lumMod?: number;

lumOff?: number;

}>| Read | Gets the gradient stops. | |position|: number| Read | Gets the position. | |color|: string| Read | Gets the color. | |isSchemeColor|: boolean| Read | Gets the is scheme color. | |lumMod|: number| Read | Gets the lum mod. | |lumOff|: number| Read | Gets the lum off. | |gradientAngle|: number` | Read | Gets the gradient angle. |

See Also