LineBreaker.ParagraphConstraints Constructors
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
| 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.