Android Guides | Samples

Android.Graphics.Bitmap.GetScaledWidth Method

Convenience for calling Bitmap.GetScaledWidth(Int32) with the target density of the given Canvas.

Syntax

[Android.Runtime.Register("getScaledWidth", "(Landroid/graphics/Canvas;)I", "")]
public Int32 GetScaledWidth (Canvas canvas)

Parameters

canvas

Remarks

Convenience for calling Bitmap.GetScaledWidth(Int32) with the target density of the given Canvas.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4