import Texture from "../textures/Texture"; import Painter from "../rendering/Painter"; import IFilterHelper from "./IFilterHelper"; import FragmentFilter from "./FragmentFilter"; declare namespace starling.filters { /** * The GlowFilter class lets you apply a glow effect to display objects. * * It is similar to the drop shadow filter with the distance and angle properties set to 0. * * * *
This filter can also be used to create outlines around objects. The trick is to
* * assign an alpha value that's (much) greater than 1.0, and full resolution.
* * For example, the following code will yield a nice black outline:
Math.ceil(value) × 2.
* * @default 1.0
*/
get blur(): number;
set blur(value: number)
/**
* The quality used for blurring the glow.
* * Forwarded to the internally used BlurFilter.
*/
get quality(): number;
set quality(value: number)
/**
* Indicates whether or not the glow is an inner glow. The default is
* * false, an outer glow (a glow around the outer edges of the object).
*/
get inner(): boolean;
set inner(value: boolean)
get_inner(): boolean;
set_inner(value: boolean): boolean;
/**
* If enabled, applies a knockout effect, which effectively makes the object's fill
* * transparent. @default false
*/
get knockout(): boolean;
set knockout(value: boolean)
get_knockout(): boolean;
set_knockout(value: boolean): boolean;
}
}
export default starling.filters.GlowFilter;