Class ScrollViewPagePathEffect

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

ScrollView Page Path Effect. This effect causes Views to follow a given path. The opacity of the view will be 0.0 at the beginning of the path and will go to 1.0 as it is approximating to half of the path to return to 0.0 at the end of the path.

C#
Copy
public class ScrollViewPagePathEffect : ScrollViewEffect, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

ScrollViewPagePathEffect(Path, Vector3, Int32, Vector3, UInt32)

Creates an initialized ScrollViewPagePathEffect.

Declaration
C#
Copy
public ScrollViewPagePathEffect(Path path, Vector3 forward, int inputPropertyIndex, Vector3 pageSize, uint pageCount)
Parameters
Type Name Description
Path path

The path that will be used by the scroll effect.

Vector3 forward

Vector in page object space which will be aligned with the tangent of the path.

Int32 inputPropertyIndex

Index of a property of the scroll-view which will be used as the input for the path.

Vector3 pageSize

Size of a page in the scrollview.

UInt32 pageCount

Total number of pages in the scrollview.

Methods

View Source

ApplyToPage(View, UInt32)

Manually apply effect to a page in the scroll-view.

Declaration
C#
Copy
public void ApplyToPage(View page, uint pageOrder)
Parameters
Type Name Description
View page

The page to be affected by this effect.

UInt32 pageOrder

The order of the page in the scroll view.

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Implements

Extension Methods