Contents

mouseDown(atPositionX:positionY:activePart:modifiers:forceUpdate:at:)

Provides information when the left mouse button is pressed and the pointer is on an image with an active plug-in control.

Declaration

func mouseDown(atPositionX mousePositionX: Double, positionY mousePositionY: Double, activePart: Int, modifiers: FxModifierKeys, forceUpdate: UnsafeMutablePointer<ObjCBool>!, at time: CMTime)

Parameters

  • mousePositionX:

    X position of the pointer (in ‘drawingCoordinates’ space).

  • mousePositionY:

    Y position of the pointer (in ‘drawingCoordinates’ space).

  • activePart:

    The active part of the control that currently contains the pointer.

  • modifiers:

    The keyboard modifiers currently pressed.

  • forceUpdate:

    Set to YES if the filter/generator associated with this control needs to be re-calculated; NO otherwise.

  • time:

    The current time when the mouse button was pressed.

Mentioned in

See Also

Instance Methods