RenderNode

Class of android.graphics · RenderNode.java · Android's reference

public final class RenderNode

A recorded display list with its properties: position, transform, alpha, clip and outline. A frame flattens the tree of nodes (snx.android.hwui.Frame) for the renderer.

Nested types

Page 1 2

Constructors

public RenderNode(String name) source

Methods

public static RenderNode ofList(DisplayList list) source

A node that draws a list as it is: a Picture's.

public static RenderNode create(String name, Object animationHost) source
public RecordingCanvas beginRecording(int width, int height) source
public RecordingCanvas beginRecording() source
public void endRecording() source
public boolean hasDisplayList() source
public void discardDisplayList() source
public DisplayList displayList() source
public boolean setPosition(int left, int top, int right, int bottom) source
public boolean setPosition(Rect r) source
public boolean setLeftTopRightBottom(int l, int t, int r, int b) source
public boolean offsetLeftAndRight(int offset) source
public boolean offsetTopAndBottom(int offset) source
public int getLeft() source
public int getTop() source
public int getRight() source
public int getBottom() source
public int getWidth() source
public int getHeight() source
public long getUniqueId() source
public String getName() source
public boolean setAlpha(float alpha) source
public float getAlpha() source
public boolean setTranslationX(float v) source
public float getTranslationX() source
public boolean setTranslationY(float v) source
public float getTranslationY() source
public boolean setTranslationZ(float v) source
public float getTranslationZ() source
public boolean setElevation(float v) source
public float getElevation() source
public boolean setScaleX(float v) source
public float getScaleX() source
public boolean setScaleY(float v) source
public float getScaleY() source
public boolean setRotationX(float v) source
public float getRotationX() source
public boolean setRotationY(float v) source
public float getRotationY() source
public boolean setRotationZ(float v) source
public float getRotationZ() source
public boolean setPivotX(float v) source
public float getPivotX() source
public boolean setPivotY(float v) source
public float getPivotY() source
public boolean isPivotExplicitlySet() source
public boolean resetPivot() source

Page 1 2


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.