Skip to content
pixi-silk
GitHub repository
Interface

IslandShapeOptions

import type { IslandShapeOptions } from 'pixi-silk/ui/island';

More of the outline of islandShape.

Properties#

PropertyTypeDescriptionDefined in
bleed?numberHow far the body reaches past the edge line, local units, so the join with a bezel shows no seam. Use 0 for an island inside an object such as a card, or it shows past its edge. Default 1.packages/pixi-silk/src/ui/island/geometry.ts:154
full?booleanThe island runs the whole edge: it meets the two side edges flush, and the window above it gets concave corners of radius instead of the island getting convex ones. Default false.packages/pixi-silk/src/ui/island/geometry.ts:159
smoothing?number0..1: squircle far corners. Default 0.packages/pixi-silk/src/ui/island/geometry.ts:149