mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add support for show layout bounds.
Summary: Supports show layout bounds either by override within FlatViewGroup, or if show layout bounds is set in settings. Currently requires app restart to disable. Reviewed By: ahmedre Differential Revision: D3553669
This commit is contained in:
committed by
Ahmed El-Helw
parent
76c2904d31
commit
7df627f9be
@@ -23,7 +23,16 @@ public interface DrawCommand {
|
||||
/**
|
||||
* Performs drawing into the given canvas.
|
||||
*
|
||||
* @param parent The parent to get child information from, if needed
|
||||
* @param canvas The canvas to draw into
|
||||
*/
|
||||
public void draw(FlatViewGroup parent, Canvas canvas);
|
||||
|
||||
/**
|
||||
* Performs debug bounds drawing into the given canvas.
|
||||
*
|
||||
* @param parent The parent to get child information from, if needed
|
||||
* @param canvas The canvas to draw into
|
||||
*/
|
||||
public void debugDraw(FlatViewGroup parent, Canvas canvas);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user