Class: ImageFE

olympe.ui.vectorial. ImageFE

Image filter element


new ImageFE()

Creates an Image Filter Element.

Extends

Methods


getDimension()

Gets the dimension of this element

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

getPosition()

Gets the position of this element

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

getScale()

Gets the scale of this element

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

<protected> getUIProxyBoxElement()

Inherited From:
Overrides:
Returns:
Type
olympe.uiapi.vectorial.BoxElement

getUIProxyFilterElement()

Get the UI proxy object. This method needs to be public for the filter to be able to access it.

Inherited From:
Overrides:
Returns:
Type
olympe.uiapi.vectorial.FilterElement

getUIProxyImageFE()

Get the UI proxy object. This method needs to be public for the Path element to be able to access it.

Returns:
Type
olympe.uiapi.vectorial.ImageFE

<protected> getUIProxySvgElement()

Inherited From:
Overrides:
Returns:
Type
olympe.uiapi.vectorial.SvgElement

isHidden()

Inherited From:
Overrides:
Returns:
Type
olympe.df.POBoolean

setAspectRatioMode(mode)

Sets aspect ratio mode.

Parameters:
Name Type Description
mode olympe.df.Proxy.<olympe.ui.common.AspectRatioMode> | olympe.ui.common.AspectRatioMode
Returns:
Type
olympe.ui.vectorial.ImageFE

setDimension(dimension)

Sets the dimension of this element

Parameters:
Name Type Description
dimension olympe.df.PVector2

Dimension of this element

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.BoxElement

setHidden(hidden)

Parameters:
Name Type Description
hidden olympe.df.OBoolean | boolean | olympe.df.Proxy | olympe.df.Node

True if content must be hidden, false otherwise

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.SvgElement

setHorizontalAlignment(hAlign)

Sets the image's horizontal alignment. You need to first set an aspect ratio mode.

Parameters:
Name Type Description
hAlign olympe.ui.common.HorizontalAlign
Returns:
Type
olympe.ui.vectorial.ImageFE

setIgnoreUserInteraction( [ignore])

Disables mouse events for this element. However, mouse events will target its descendants unless they are manually set to also ignore user interactions.

Parameters:
Name Type Argument Default Description
ignore boolean <optional>
false

ignore If true, this element is never the target of mouse events (but not its descendants).

Inherited From:
Overrides:

setPosition(position)

Sets the position of this element

Parameters:
Name Type Description
position olympe.df.PVector2 | olympe.df.Vector2

The position of this element

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.BoxElement

setScale(scale)

Sets the scale of this element

Parameters:
Name Type Description
scale olympe.df.PONumber | number

Scale of this element

Inherited From:
Overrides:
Returns:
Type
olympe.ui.vectorial.BoxElement

setSource(href)

Sets the path to the image resource.

Parameters:
Name Type Description
href olympe.df.POString | string
Returns:
Type
olympe.ui.vectorial.ImageFE

setVerticalAlignment(vAlign)

Sets the image's vertical alignment. You need to first set an aspect ratio mode.

Parameters:
Name Type Description
vAlign olympe.ui.common.VerticalAlign
Returns:
Type
olympe.ui.vectorial.ImageFE