public class DrawableParams extends RenderParams
Bridge.renderDrawable(DrawableParams)DEFAULT_TIMEOUT| Constructor and Description |
|---|
DrawableParams(DrawableParams params) |
DrawableParams(ResourceValue drawable,
java.lang.Object projectKey,
HardwareConfig hardwareConfig,
RenderResources renderResources,
IProjectCallback projectCallback,
int minSdkVersion,
int targetSdkVersion,
LayoutLog log)
Builds a param object with all the necessary parameters to render a drawable with
Bridge.renderDrawable(DrawableParams) |
| Modifier and Type | Method and Description |
|---|---|
ResourceValue |
getDrawable() |
getAppIcon, getAppLabel, getConfigScreenSize, getDensity, getHardwareConfig, getImageFactory, getLocale, getLog, getMinSdkVersion, getOverrideBgColor, getProjectCallback, getProjectKey, getResources, getScreenHeight, getScreenWidth, getTargetSdkVersion, getTimeout, getXdpi, getYdpi, isBgColorOverridden, isForceNoDecor, isRtlSupported, setAppIcon, setAppLabel, setForceNoDecor, setImageFactory, setLocale, setOverrideBgColor, setRtlSupport, setTimeoutpublic DrawableParams(ResourceValue drawable, java.lang.Object projectKey, HardwareConfig hardwareConfig, RenderResources renderResources, IProjectCallback projectCallback, int minSdkVersion, int targetSdkVersion, LayoutLog log)
Bridge.renderDrawable(DrawableParams)drawable - the ResourceValue identifying the drawable.projectKey - An Object identifying the project. This is used for the cache mechanism.hardwareConfig - the HardwareConfig.renderResources - a RenderResources object providing access to the resources.projectCallback - The IProjectCallback object to get information from
the project.minSdkVersion - the minSdkVersion of the projecttargetSdkVersion - the targetSdkVersion of the projectlog - the object responsible for displaying warning/errors to the user.public DrawableParams(DrawableParams params)
public ResourceValue getDrawable()