skia
    Preparing search index...

    Interface ImageFilter

    See ImageFilter.h for more on this class. The objects are opaque.

    interface ImageFilter {
        _type: "ImageFilter";
        delete(): void;
        deleteLater(): void;
        getOutputBounds(
            drawBounds: Rect,
            ctm?: InputMatrix,
            outputRect?: IRect,
        ): IRect;
        isAliasOf(other: any): boolean;
        isDeleted(): boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _type: "ImageFilter"

    Methods

    • Returns an IRect that is the updated bounds of inputRect after this filter has been applied.

      Parameters

      • drawBounds: Rect

        The local (pre-transformed) bounding box of the geometry being drawn before the filter is applied.

      • Optionalctm: InputMatrix

        If provided, the current transform at the time the filter would be used.

      • OptionaloutputRect: IRect

        If provided, the result will be output to this array rather than allocating a new one.

      Returns IRect

      an IRect describing the updated bounds.