Builder
open classBuilder
kotlin.Any | |
↳ | android.renderscript.Element.Builder |
Builder class for producing complex elements with matching field and name pairs. The builder starts empty. The order in which elements are added is retained for the layout in memory.
Summary
Public constructors | |
---|---|
Builder(rs: RenderScript!) Create a builder object. |
Public methods | |
---|---|
open Element.Builder! |
Add an array of elements to this element. |
open Element.Builder! |
Add a single element to this Element. |
open Element! |
create() Create the element from this builder. |
Public constructors
Builder
Builder(rs: RenderScript!)
Create a builder object.
Parameters | |
---|---|
rs |
RenderScript!: |
Public methods
add
open funadd(
element: Element!,
name: String!,
arraySize: Int
): Element.Builder!
Deprecated: Deprecated in Java.
Add an array of elements to this element.
Parameters | |
---|---|
element |
Element!: |
name |
String!: |
arraySize |
Int: |
add
open funadd(
element: Element!,
name: String!
): Element.Builder!
Deprecated: Deprecated in Java.
Add a single element to this Element.
Parameters | |
---|---|
element |
Element!: |
name |
String!: |
create
open funcreate(): Element!
Deprecated: Deprecated in Java.
Create the element from this builder.
Return | |
---|---|
Element! |
Element |