Pixi’VN
indexFunctions

Function: circleOverhang()

pixi-vn on GitHub

> circleOverhang(center, radius, width, height): number

Defined in: src/tickers/utility/filter-effect-utility.ts:71

How far (pixels) content can be pushed past the component's own bounds by a deformation confined to a circle of radius around center (twist, bulge): the circle's overhang beyond the bounds.

Parameters

center

x

number

y

number

radius

number

width

number

height

number

Returns

number

On this page