public final class TransparencyEnabledCard extends Component
Card. It is more expensive to perform rounded corners with transparent
 clipping due to antialiasing operations.
 A component that renders a given component into a card border with shadow, and allows for
 transparent corners. com.facebook.litho.widget.Card uses imitation clipped corners that
 draw in a solid color to mimic the background. TransparencyEnabledCardSpec is useful if you are
 rendering your pill over a gradient or dynamic background.
 
com.facebook.litho.widget.TransparencyEnabledCardSpec| Modifier and Type | Class and Description | 
|---|---|
| static class  | TransparencyEnabledCard.Builder | 
Component.ContainerBuilder<T extends Component.ContainerBuilder<T>>ComponentLifecycle.MountType, ComponentLifecycle.RenderData, ComponentLifecycle.TransitionContainer| Modifier and Type | Method and Description | 
|---|---|
| static TransparencyEnabledCard.Builder | create(ComponentContext context) | 
| static TransparencyEnabledCard.Builder | create(ComponentContext context,
      int defStyleAttr,
      int defStyleRes) | 
| boolean | isPureRender() | 
| TransparencyEnabledCard | makeShallowCopy() | 
| protected Component | onCreateLayout(ComponentContext c)Generate a tree of  ComponentLayoutrepresenting the layout structure of theComponentand its sub-components. | 
bindDynamicProp, canResolve, clearCachedLayout, copyInterStageImpl, getCommonProps, getDynamicProps, getEventDispatcher, getHandle, getId, getKey, getScopedContext, getSimpleName, getSimpleNameDelegate, getStateContainer, hasBackgroundSet, hasClickHandlerSet, isEquivalentTo, measure, measureMightNotCacheInternalNode, recordEventTrigger, registerWorkingRange, retrieveValue, setScopedContext, updateInternalChildState, willRenderacceptTriggerEvent, applyPreviousRenderData, callsShouldUpdateOnMount, canMeasure, canPreallocate, createInitialState, createMountContent, dispatchErrorEvent, dispatchErrorEvent, dispatchOnEnteredRange, dispatchOnEvent, dispatchOnExitedRange, getEventTrigger, getEventTrigger, getExtraAccessibilityNodeAt, getExtraAccessibilityNodesCount, getMountType, getTreePropsForChildren, hasAttachDetachCallback, hasChildLithoViews, hasState, implementsAccessibility, implementsExtraAccessibilityNodes, isLayoutSpecWithSizeSpecCheck, isMountSizeDependent, needsPreviousRenderData, newEventHandler, newEventTrigger, onAttached, onBind, onBoundsDefined, onCreateLayoutWithSizeSpec, onCreateMountContent, onCreateMountContentPool, onCreateTransition, onDetached, onError, onLoadStyle, onMeasure, onMeasureBaseline, onMount, onPopulateAccessibilityNode, onPopulateExtraAccessibilityNode, onPrepare, onShouldCreateLayoutWithNewSizeSpec, onUnbind, onUnmount, poolSize, populateTreeProps, recordRenderData, resolve, shouldAlwaysRemeasure, shouldUpdate, shouldUseGlobalPool, transferStatepublic TransparencyEnabledCard makeShallowCopy()
makeShallowCopy in class Componentprotected Component onCreateLayout(ComponentContext c)
ComponentLifecycleComponentLayout representing the layout structure of the Component and its sub-components.onCreateLayout in class ComponentLifecyclec - The ComponentContext to build a ComponentLayout tree.public boolean isPureRender()
isPureRender in class ComponentLifecyclepublic static TransparencyEnabledCard.Builder create(ComponentContext context)
public static TransparencyEnabledCard.Builder create(ComponentContext context, int defStyleAttr, int defStyleRes)