Skip to content
Last updated

API / geotoolkit / scene / InvalidateEventArgs / InvalidateEventArgs

Class: InvalidateEventArgs

scene.InvalidateEventArgs.InvalidateEventArgs

Event arguments for Events.Invalidate

Table of contents

Constructors
  • [new InvalidateEventArgs(bounds, force)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.invalidateeventargs.invalidateeventargs.md#new invalidateeventargs(bounds, force))
Methods

Contents

Constructors

new InvalidateEventArgs(bounds, force)

• new InvalidateEventArgs(bounds?, force?)

Creates event args

Parameters

Name Type Description
Optional boundsRectan area to be invalidated
Optional forcebooleanforce invalidate
Methods

getBounds

▸ getBounds(): Rect

Return invalidated area. if area is undefined or null, whole sender is invalidated

Returns

Rect


isForced

▸ isForced(): boolean

Return flag is invalidation is forced

Returns

boolean