Język

LineBreaker.ParagraphConstraints Constructors

Definition

Overloads

Name Description
LineBreaker.ParagraphConstraints()

Creates paragraph constraints with zero widths and no explicit tab stops.

LineBreaker.ParagraphConstraints(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

LineBreaker.ParagraphConstraints()

Creates paragraph constraints with zero widths and no explicit tab stops.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public ParagraphConstraints();
Attributes

Remarks

Set Width before line breaking. Use SetIndent(Single, Int32) to set a different width for the first lines, and SetTabStops(Single[], Single) to set tab stops. Widths and tab positions are in pixels; the first-line count is a count of lines.

Applies to

LineBreaker.ParagraphConstraints(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected ParagraphConstraints(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Text.LineBreaker.ParagraphConstraints : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Text.LineBreaker.ParagraphConstraints

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether and how to release the incoming JNI reference, and whether to register the managed peer.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to