Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static class

Element.Builder

extends Object
java.lang.Object
   ↳ android.renderscript.Element.Builder

Class Overview

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
Element.Builder ( RenderScript rs)
Create a builder object.
Public Methods
Element.Builder add ( Element element, String name)
Add a single element to this Element.
Element.Builder add ( Element element, String name, int arraySize)
Add an array of elements to this element.
Element create ()
Create the element from this builder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Element.Builder ( RenderScript rs)

Create a builder object.

Public Methods

public Element.Builder add ( Element element, String name)

Add a single element to this Element.

public Element.Builder add ( Element element, String name, int arraySize)

Add an array of elements to this element.

public Element create ()

Create the element from this builder.

Returns
  • Element