PathDashPathEffect_Delegatepublic class PathDashPathEffect_Delegate extends PathEffect_Delegate Delegate implementing the native methods of android.graphics.PathDashPathEffect
Through the layoutlib_create tool, the original native methods of PathDashPathEffect have been
replaced by calls to methods of the same name in this delegate class.
This class behaves like the original native implementation, but in Java, keeping previously
native data into its own objects and mapping them to int that are sent back and forth between
it and the original PathDashPathEffect class.
Because this extends {@link PathEffect_Delegate}, there's no need to use a {@link DelegateManager},
as all the Shader classes will be added to the manager owned by {@link PathEffect_Delegate}. |
Methods Summary |
---|
public java.awt.Stroke | getStroke(Paint_Delegate paint)
// FIXME
return null;
| public java.lang.String | getSupportMessage()
return "Path Dash Path Effects are not supported in Layout Preview mode.";
| public boolean | isSupported()
return false;
| static long | nativeCreate(long native_path, float advance, float phase, int native_style)
PathDashPathEffect_Delegate newDelegate = new PathDashPathEffect_Delegate();
return sManager.addNewDelegate(newDelegate);
|
|