Class ScrollViewPagePathEffect
Definition
- 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.
public class ScrollViewPagePathEffect : ScrollViewEffect, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceScrollViewPagePathEffect(Path, Vector3, int, Vector3, uint)
Creates an initialized ScrollViewPagePathEffect.
Declaration
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. |
int | 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. |
uint | pageCount | Total number of pages in the scrollview. |
Methods
View SourceApplyToPage(View, uint)
Manually apply effect to a page in the scroll-view.
Declaration
public void ApplyToPage(View page, uint pageOrder)
Parameters
Type | Name | Description |
---|---|---|
View | page | The page to be affected by this effect. |
uint | pageOrder | The order of the page in the scroll view. |
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Implements
System.IDisposable