InterfaceOutlineOptions

Options of Image.outline

interface OutlineOptions {
    color?: number;
    expand?: boolean;
    width?: number;
}

Properties

Properties

color?: number

The outline's color. Default: 0x000000ff

expand?: boolean

Whether to make the image larger so the outline isn't cut off. Without it, the image keeps its size and the outline is cut where the image ends. Default: true

width?: number

The outline's width in pixels. Default: 1