共用方式為


Canvas.MaximumBitmapWidth Property

Definition

Returns the maximum allowed width for bitmaps drawn with this canvas.

public virtual int MaximumBitmapWidth { [Android.Runtime.Register("getMaximumBitmapWidth", "()I", "GetGetMaximumBitmapWidthHandler")] get; }
[<get: Android.Runtime.Register("getMaximumBitmapWidth", "()I", "GetGetMaximumBitmapWidthHandler")>]
member this.MaximumBitmapWidth : int

Property Value

Attributes

Remarks

Returns the maximum allowed width for bitmaps drawn with this canvas. Attempting to draw with a bitmap wider than this value will result in an error.

Java documentation for android.graphics.Canvas.getMaximumBitmapWidth().

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

See also