RenderEffect.CreateOffsetEffect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateOffsetEffect(Single, Single) |
Create a |
CreateOffsetEffect(Single, Single, RenderEffect) |
Create a |
CreateOffsetEffect(Single, Single)
Create a RenderEffect
instance that will offset the drawing content
by the provided x and y offset.
[Android.Runtime.Register("createOffsetEffect", "(FF)Landroid/graphics/RenderEffect;", "", ApiSince=31)]
public static Android.Graphics.RenderEffect CreateOffsetEffect (float offsetX, float offsetY);
[<Android.Runtime.Register("createOffsetEffect", "(FF)Landroid/graphics/RenderEffect;", "", ApiSince=31)>]
static member CreateOffsetEffect : single * single -> Android.Graphics.RenderEffect
Parameters
- offsetX
- Single
offset along the x axis in pixels
- offsetY
- Single
offset along the y axis in pixels
Returns
- Attributes
Remarks
Create a RenderEffect
instance that will offset the drawing content by the provided x and y offset.
Java documentation for android.graphics.RenderEffect.createOffsetEffect(float, float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CreateOffsetEffect(Single, Single, RenderEffect)
Create a RenderEffect
instance with the provided x and y offset
[Android.Runtime.Register("createOffsetEffect", "(FFLandroid/graphics/RenderEffect;)Landroid/graphics/RenderEffect;", "", ApiSince=31)]
public static Android.Graphics.RenderEffect CreateOffsetEffect (float offsetX, float offsetY, Android.Graphics.RenderEffect input);
[<Android.Runtime.Register("createOffsetEffect", "(FFLandroid/graphics/RenderEffect;)Landroid/graphics/RenderEffect;", "", ApiSince=31)>]
static member CreateOffsetEffect : single * single * Android.Graphics.RenderEffect -> Android.Graphics.RenderEffect
Parameters
- offsetX
- Single
offset along the x axis in pixels
- offsetY
- Single
offset along the y axis in pixels
- input
- RenderEffect
target RenderEffect used to render in the offset coordinates.
Returns
- Attributes
Remarks
Create a RenderEffect
instance with the provided x and y offset
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.