SolidPaint

Represents a solid color paint.

SolidPaint interface

Represents a solid color paint.

Signature:

interface SolidPaint

Example

// Create a solid red paint in a group
group.createFill({
  type: "SOLID",
  color: { r: 255, g: 0, b: 0 },
});

Properties

Property

Modifiers

Type

Description

color

readonly

Animatable<Color>

The animatable color of the paint

type

readonly

"SOLID"

Paint type

Methods

Method

Description

remove()

Removes the paint from the shape layer or group it is applied to

Last updated: August 5, 2026 at 11:47 AMEdit this page