Resource.Color Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides identifiers for platform color resources.
[Android.Runtime.Register("android/R$color", DoNotGenerateAcw=true)]
public sealed class Resource.Color : Java.Lang.Object
[<Android.Runtime.Register("android/R$color", DoNotGenerateAcw=true)>]
type Resource.Color = class
inherit Object
- Inheritance
- Attributes
Remarks
Android platform documentation
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
| Name | Description |
|---|---|
| Resource.Color() |
Creates a new instance of the color resource identifiers class. |
Fields
| Name | Description |
|---|---|
| BackgroundDark |
Background color resource whose base-platform ARGB value is #FF000000, opaque black. |
| BackgroundLight |
Background color resource whose base-platform ARGB value is #FFFFFFFF, opaque white. |
| Black |
Color resource whose base-platform ARGB value is #FF000000, opaque black. |
| DarkerGray |
Gray color resource whose base-platform value is #aaa. |
| HoloBlueBright |
A really bright Holo shade of blue |
| HoloBlueDark |
A dark Holo shade of blue |
| HoloBlueLight |
A light Holo shade of blue |
| HoloGreenDark |
A dark Holo shade of green |
| HoloGreenLight |
A light Holo shade of green |
| HoloOrangeDark |
A dark Holo shade of orange |
| HoloOrangeLight |
A light Holo shade of orange |
| HoloPurple |
A Holo shade of purple |
| HoloRedDark |
A dark Holo shade of red |
| HoloRedLight |
A light Holo shade of red |
| PrimaryTextDark |
Text color state list with disabled, window-focus, and inverse interaction-state entries. |
| PrimaryTextDarkNoDisable |
Text color state list with inverse colors for selected or activated states and no disabled-state rule. |
| PrimaryTextLight |
Text color state list with a disabled foreground color and bright_foreground_light for other declared states. |
| PrimaryTextLightNoDisable |
Text color state list that uses bright_foreground_light for every declared state and has no disabled-state rule. |
| SecondaryTextDark |
Text color state list using dim_foreground_dark by default, with separate disabled, selected, pressed, and activated colors. |
| SecondaryTextDarkNoDisable |
Text color state list using dim_foreground_dark by default and inverse colors for selected or activated states, without a disabled-state rule. |
| SecondaryTextLight |
Text color state list using dim_foreground_light by default, with separate disabled and activated colors. |
| SecondaryTextLightNoDisable |
Text color state list using dim_foreground_dark by default and inverse colors for selected or activated states, without a disabled-state rule. |
| SystemAccent10 |
Identifies the platform color resource named |
| SystemAccent110 |
Identifies the platform color resource named |
| SystemAccent1100 |
Identifies the platform color resource named |
| SystemAccent11000 |
Identifies the platform color resource named |
| SystemAccent1200 |
Identifies the platform color resource named |
| SystemAccent1300 |
Identifies the platform color resource named |
| SystemAccent1400 |
Identifies the platform color resource named |
| SystemAccent150 |
Identifies the platform color resource named |
| SystemAccent1500 |
Identifies the platform color resource named |
| SystemAccent1600 |
Identifies the platform color resource named |
| SystemAccent1700 |
Identifies the platform color resource named |
| SystemAccent1800 |
Identifies the platform color resource named |
| SystemAccent1900 |
Identifies the platform color resource named |
| SystemAccent20 |
Identifies the platform color resource named |
| SystemAccent210 |
Identifies the platform color resource named |
| SystemAccent2100 |
Identifies the platform color resource named |
| SystemAccent21000 |
Identifies the platform color resource named |
| SystemAccent2200 |
Identifies the platform color resource named |
| SystemAccent2300 |
Identifies the platform color resource named |
| SystemAccent2400 |
Identifies the platform color resource named |
| SystemAccent250 |
Identifies the platform color resource named |
| SystemAccent2500 |
Identifies the platform color resource named |
| SystemAccent2600 |
Identifies the platform color resource named |
| SystemAccent2700 |
Identifies the platform color resource named |
| SystemAccent2800 |
Identifies the platform color resource named |
| SystemAccent2900 |
Identifies the platform color resource named |
| SystemAccent30 |
Identifies the platform color resource named |
| SystemAccent310 |
Identifies the platform color resource named |
| SystemAccent3100 |
Identifies the platform color resource named |
| SystemAccent31000 |
Identifies the platform color resource named |
| SystemAccent3200 |
Identifies the platform color resource named |
| SystemAccent3300 |
Identifies the platform color resource named |
| SystemAccent3400 |
Identifies the platform color resource named |
| SystemAccent350 |
Identifies the platform color resource named |
| SystemAccent3500 |
Identifies the platform color resource named |
| SystemAccent3600 |
Identifies the platform color resource named |
| SystemAccent3700 |
Identifies the platform color resource named |
| SystemAccent3800 |
Identifies the platform color resource named |
| SystemAccent3900 |
Identifies the platform color resource named |
| SystemBackgroundDark |
Identifies the platform color resource named |
| SystemBackgroundLight |
Identifies the platform color resource named |
| SystemControlActivatedDark |
Identifies the platform color resource named |
| SystemControlActivatedLight |
Identifies the platform color resource named |
| SystemControlHighlightDark |
Identifies the platform color resource named |
| SystemControlHighlightLight |
Identifies the platform color resource named |
| SystemControlNormalDark |
Identifies the platform color resource named |
| SystemControlNormalLight |
Identifies the platform color resource named |
| SystemError0 |
Identifies the platform color resource named |
| SystemError10 |
Identifies the platform color resource named |
| SystemError100 |
Identifies the platform color resource named |
| SystemError1000 |
Identifies the platform color resource named |
| SystemError200 |
Identifies the platform color resource named |
| SystemError300 |
Identifies the platform color resource named |
| SystemError400 |
Identifies the platform color resource named |
| SystemError50 |
Identifies the platform color resource named |
| SystemError500 |
Identifies the platform color resource named |
| SystemError600 |
Identifies the platform color resource named |
| SystemError700 |
Identifies the platform color resource named |
| SystemError800 |
Identifies the platform color resource named |
| SystemError900 |
Identifies the platform color resource named |
| SystemErrorContainerDark |
Identifies the platform color resource named |
| SystemErrorContainerLight |
Identifies the platform color resource named |
| SystemErrorDark |
Identifies the platform color resource named |
| SystemErrorDimDark |
Wear only: High emphasis fill color indicating errors or destructive actions in dark mode. |
| SystemErrorDimLight |
Wear only: High emphasis fill color indicating errors or destructive actions in light mode. |
| SystemErrorLight |
Identifies the platform color resource named |
| SystemInverseOnSurfaceDark |
Text/icon color for inverted components like snack bars in dark mode. |
| SystemInverseOnSurfaceLight |
Text/icon color for inverted components like snack bars in light mode. |
| SystemInversePrimaryDark |
Text/icon accent color for actions on inverted components like snack bars in dark mode. |
| SystemInversePrimaryLight |
Text/icon accent color for actions on inverted components like snack bars in light mode. |
| SystemInverseSurfaceDark |
Fill color for inverted components like snack bars in dark mode. |
| SystemInverseSurfaceLight |
Fill color for inverted components like snack bars in light mode. |
| SystemNeutral10 |
Identifies the platform color resource named |
| SystemNeutral110 |
Identifies the platform color resource named |
| SystemNeutral1100 |
Identifies the platform color resource named |
| SystemNeutral11000 |
Identifies the platform color resource named |
| SystemNeutral1200 |
Identifies the platform color resource named |
| SystemNeutral1300 |
Identifies the platform color resource named |
| SystemNeutral1400 |
Identifies the platform color resource named |
| SystemNeutral150 |
Identifies the platform color resource named |
| SystemNeutral1500 |
Identifies the platform color resource named |
| SystemNeutral1600 |
Identifies the platform color resource named |
| SystemNeutral1700 |
Identifies the platform color resource named |
| SystemNeutral1800 |
Identifies the platform color resource named |
| SystemNeutral1900 |
Identifies the platform color resource named |
| SystemNeutral20 |
Identifies the platform color resource named |
| SystemNeutral210 |
Identifies the platform color resource named |
| SystemNeutral2100 |
Identifies the platform color resource named |
| SystemNeutral21000 |
Identifies the platform color resource named |
| SystemNeutral2200 |
Identifies the platform color resource named |
| SystemNeutral2300 |
Identifies the platform color resource named |
| SystemNeutral2400 |
Identifies the platform color resource named |
| SystemNeutral250 |
Identifies the platform color resource named |
| SystemNeutral2500 |
Identifies the platform color resource named |
| SystemNeutral2600 |
Identifies the platform color resource named |
| SystemNeutral2700 |
Identifies the platform color resource named |
| SystemNeutral2800 |
Identifies the platform color resource named |
| SystemNeutral2900 |
Identifies the platform color resource named |
| SystemOnBackgroundDark |
Identifies the platform color resource named |
| SystemOnBackgroundLight |
Identifies the platform color resource named |
| SystemOnErrorContainerDark |
Identifies the platform color resource named |
| SystemOnErrorContainerLight |
Identifies the platform color resource named |
| SystemOnErrorDark |
Identifies the platform color resource named |
| SystemOnErrorLight |
Identifies the platform color resource named |
| SystemOnPrimaryContainerDark |
Identifies the platform color resource named |
| SystemOnPrimaryContainerLight |
Identifies the platform color resource named |
| SystemOnPrimaryDark |
Identifies the platform color resource named |
| SystemOnPrimaryFixed |
Identifies the platform color resource named |
| SystemOnPrimaryFixedDark |
Higher emphasis text/icon color against Primary Fixed in dark mode. |
| SystemOnPrimaryFixedLight |
Higher emphasis text/icon color against Primary Fixed in light mode. |
| SystemOnPrimaryFixedVariant |
Identifies the platform color resource named |
| SystemOnPrimaryFixedVariantDark |
Lower emphasis text/icon color against Primary Fixed in dark mode. |
| SystemOnPrimaryFixedVariantLight |
Lower emphasis text/icon color against Primary Fixed in light mode. |
| SystemOnPrimaryLight |
Identifies the platform color resource named |
| SystemOnSecondaryContainerDark |
Identifies the platform color resource named |
| SystemOnSecondaryContainerLight |
Identifies the platform color resource named |
| SystemOnSecondaryDark |
Identifies the platform color resource named |
| SystemOnSecondaryFixed |
Identifies the platform color resource named |
| SystemOnSecondaryFixedDark |
Higher emphasis text/icon color against Secondary Fixed in dark mode. |
| SystemOnSecondaryFixedLight |
Higher emphasis text/icon color against Secondary Fixed in light mode. |
| SystemOnSecondaryFixedVariant |
Identifies the platform color resource named |
| SystemOnSecondaryFixedVariantDark |
Lower emphasis text/icon color against Secondary Fixed in dark mode. |
| SystemOnSecondaryFixedVariantLight |
Lower emphasis text/icon color against Secondary Fixed in light mode. |
| SystemOnSecondaryLight |
Identifies the platform color resource named |
| SystemOnSurfaceDark |
Identifies the platform color resource named |
| SystemOnSurfaceDisabled |
Identifies the platform color resource named |
| SystemOnSurfaceLight |
Identifies the platform color resource named |
| SystemOnSurfaceVariantDark |
Identifies the platform color resource named |
| SystemOnSurfaceVariantLight |
Identifies the platform color resource named |
| SystemOnTertiaryContainerDark |
Identifies the platform color resource named |
| SystemOnTertiaryContainerLight |
Identifies the platform color resource named |
| SystemOnTertiaryDark |
Identifies the platform color resource named |
| SystemOnTertiaryFixed |
Identifies the platform color resource named |
| SystemOnTertiaryFixedDark |
Higher emphasis text/icon color against Tertiary Fixed in dark mode. |
| SystemOnTertiaryFixedLight |
Higher emphasis text/icon color against Tertiary Fixed in light mode. |
| SystemOnTertiaryFixedVariant |
Identifies the platform color resource named |
| SystemOnTertiaryFixedVariantDark |
Lower emphasis text/icon color against Tertiary Fixed in dark mode. |
| SystemOnTertiaryFixedVariantLight |
Lower emphasis text/icon color against Tertiary Fixed in light mode. |
| SystemOnTertiaryLight |
Identifies the platform color resource named |
| SystemOutlineDark |
Identifies the platform color resource named |
| SystemOutlineDisabled |
Identifies the platform color resource named |
| SystemOutlineLight |
Identifies the platform color resource named |
| SystemOutlineVariantDark |
Identifies the platform color resource named |
| SystemOutlineVariantLight |
Identifies the platform color resource named |
| SystemPaletteKeyColorErrorDark |
Color whose hue and chroma are used to create Error palette and related tokens in dark mode. |
| SystemPaletteKeyColorErrorLight |
Color whose hue and chroma are used to create Error palette and related tokens in light mode. |
| SystemPaletteKeyColorNeutralDark |
Identifies the platform color resource named |
| SystemPaletteKeyColorNeutralLight |
Identifies the platform color resource named |
| SystemPaletteKeyColorNeutralVariantDark |
Identifies the platform color resource named |
| SystemPaletteKeyColorNeutralVariantLight |
Identifies the platform color resource named |
| SystemPaletteKeyColorPrimaryDark |
Identifies the platform color resource named |
| SystemPaletteKeyColorPrimaryLight |
Identifies the platform color resource named |
| SystemPaletteKeyColorSecondaryDark |
Identifies the platform color resource named |
| SystemPaletteKeyColorSecondaryLight |
Identifies the platform color resource named |
| SystemPaletteKeyColorTertiaryDark |
Identifies the platform color resource named |
| SystemPaletteKeyColorTertiaryLight |
Identifies the platform color resource named |
| SystemPrimaryContainerDark |
Identifies the platform color resource named |
| SystemPrimaryContainerLight |
Identifies the platform color resource named |
| SystemPrimaryDark |
Identifies the platform color resource named |
| SystemPrimaryDimDark |
Wear only: Fill color for main actions in dark mode. |
| SystemPrimaryDimLight |
Wear only: Fill color for main actions in light mode. |
| SystemPrimaryFixed |
Identifies the platform color resource named |
| SystemPrimaryFixedDark |
Fill color for main actions that stays bright in both light and dark modes in dark mode. |
| SystemPrimaryFixedDim |
Identifies the platform color resource named |
| SystemPrimaryFixedDimDark |
Darkened fill color for main actions that stays bright in both light and dark modes in dark mode. |
| SystemPrimaryFixedDimLight |
Darkened fill color for main actions that stays bright in both light and dark modes in light mode. |
| SystemPrimaryFixedLight |
Fill color for main actions that stays bright in both light and dark modes in light mode. |
| SystemPrimaryLight |
Identifies the platform color resource named |
| SystemScrimDark |
Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in dark mode. |
| SystemScrimLight |
Color for the semi-transparent overlay that dims the background behind modal windows or dialogs in light mode. |
| SystemSecondaryContainerDark |
Identifies the platform color resource named |
| SystemSecondaryContainerLight |
Identifies the platform color resource named |
| SystemSecondaryDark |
Identifies the platform color resource named |
| SystemSecondaryDimDark |
Wear only: Fill color for supporting actions in dark mode. |
| SystemSecondaryDimLight |
Wear only: Fill color for supporting actions in light mode. |
| SystemSecondaryFixed |
Identifies the platform color resource named |
| SystemSecondaryFixedDark |
Fill color for supporting actions that stays bright in both light and dark modes in dark mode. |
| SystemSecondaryFixedDim |
Identifies the platform color resource named |
| SystemSecondaryFixedDimDark |
Darkened fill color for supporting actions that stays bright in both light and dark modes in dark mode. |
| SystemSecondaryFixedDimLight |
Darkened fill color for supporting actions that stays bright in both light and dark modes in light mode. |
| SystemSecondaryFixedLight |
Fill color for supporting actions that stays bright in both light and dark modes in light mode. |
| SystemSecondaryLight |
Identifies the platform color resource named |
| SystemShadowDark |
Base color used for casting elevation shadows under UI elements in dark mode. |
| SystemShadowLight |
Base color used for casting elevation shadows under UI elements in light mode. |
| SystemSurfaceBrightDark |
Identifies the platform color resource named |
| SystemSurfaceBrightLight |
Identifies the platform color resource named |
| SystemSurfaceContainerDark |
Identifies the platform color resource named |
| SystemSurfaceContainerHighDark |
Identifies the platform color resource named |
| SystemSurfaceContainerHighestDark |
Identifies the platform color resource named |
| SystemSurfaceContainerHighestLight |
Identifies the platform color resource named |
| SystemSurfaceContainerHighLight |
Identifies the platform color resource named |
| SystemSurfaceContainerLight |
Identifies the platform color resource named |
| SystemSurfaceContainerLowDark |
Identifies the platform color resource named |
| SystemSurfaceContainerLowestDark |
Identifies the platform color resource named |
| SystemSurfaceContainerLowestLight |
Identifies the platform color resource named |
| SystemSurfaceContainerLowLight |
Identifies the platform color resource named |
| SystemSurfaceDark |
Identifies the platform color resource named |
| SystemSurfaceDimDark |
Identifies the platform color resource named |
| SystemSurfaceDimLight |
Identifies the platform color resource named |
| SystemSurfaceDisabled |
Identifies the platform color resource named |
| SystemSurfaceLight |
Identifies the platform color resource named |
| SystemSurfaceTintDark |
Deprecated background fill color used to create Surface containers in dark mode. |
| SystemSurfaceTintLight |
Deprecated background fill color used to create Surface containers in light mode. |
| SystemSurfaceVariantDark |
Identifies the platform color resource named |
| SystemSurfaceVariantLight |
Identifies the platform color resource named |
| SystemTertiaryContainerDark |
Identifies the platform color resource named |
| SystemTertiaryContainerLight |
Identifies the platform color resource named |
| SystemTertiaryDark |
Identifies the platform color resource named |
| SystemTertiaryDimDark |
Wear only: Fill color for differentiated or special actions like badges in dark mode. |
| SystemTertiaryDimLight |
Wear only: Fill color for differentiated or special actions like badges in light mode. |
| SystemTertiaryFixed |
Identifies the platform color resource named |
| SystemTertiaryFixedDark |
Fill color for differentiated actions that stays bright in both light and dark modes in dark mode. |
| SystemTertiaryFixedDim |
Identifies the platform color resource named |
| SystemTertiaryFixedDimDark |
Darkened fill color for differentiated actions that stays bright in both light and dark modes in dark mode. |
| SystemTertiaryFixedDimLight |
Darkened fill color for differentiated actions that stays bright in both light and dark modes in light mode. |
| SystemTertiaryFixedLight |
Fill color for differentiated actions that stays bright in both light and dark modes in light mode. |
| SystemTertiaryLight |
Identifies the platform color resource named |
| SystemTextHintInverseDark |
Identifies the platform color resource named |
| SystemTextHintInverseLight |
Identifies the platform color resource named |
| SystemTextPrimaryInverseDark |
Identifies the platform color resource named |
| SystemTextPrimaryInverseDisableOnlyDark |
Identifies the platform color resource named |
| SystemTextPrimaryInverseDisableOnlyLight |
Identifies the platform color resource named |
| SystemTextPrimaryInverseLight |
Identifies the platform color resource named |
| SystemTextSecondaryAndTertiaryInverseDark |
Identifies the platform color resource named |
| SystemTextSecondaryAndTertiaryInverseDisabledDark |
Identifies the platform color resource named |
| SystemTextSecondaryAndTertiaryInverseDisabledLight |
Identifies the platform color resource named |
| SystemTextSecondaryAndTertiaryInverseLight |
Identifies the platform color resource named |
| TabIndicatorText |
Text color state list that uses white for the selected state and #808080 otherwise. |
| TertiaryTextDark |
Text color state list that normally uses #808080, with dim_foreground_light for an enabled, unpressed selection in a focused window. |
| TertiaryTextLight |
Text color state list that uses #808080 for every declared state. |
| Transparent |
Color resource whose base-platform ARGB value is #00000000, fully transparent black. |
| White |
Color resource whose base-platform ARGB value is #FFFFFFFF, opaque white. |
| WidgetEditTextDark |
Text color state list that uses bright_foreground_light in both its unfocused and default entries. |
Properties
| Name | Description |
|---|---|
| Class |
Returns the runtime class of this |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| JniIdentityHashCode |
Gets the identity hash code assigned to this Java peer by the interop runtime. (Inherited from Object) |
| JniManagedPeerState |
Gets the state flags last assigned by the runtime. (Inherited from JavaObject) |
| JniPeerMembers |
Provides the JNI peer metadata for this type. |
| PeerReference |
Gets the JNI object reference for this Java peer. (Inherited from Object) |
| ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
| ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Methods
| Name | Description |
|---|---|
| Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
| Construct(JniObjectReference, JniObjectReferenceOptions) |
Delegates construction of this peer to the runtime's value manager. (Inherited from JavaObject) |
| Dispose() |
Releases the resources held by this Java peer. (Inherited from Object) |
| Dispose(Boolean) |
Releases the resources held by this Java peer. (Inherited from Object) |
| DisposeUnlessReferenced() |
Asks the value manager to dispose this peer unless its mapping retains this same managed instance. (Inherited from JavaObject) |
| Equals(Object) |
Tests whether another managed peer refers to the same Java object. (Inherited from JavaObject) |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
| GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
| JavaFinalize() |
Obsolete.
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
| SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
| SetPeerReference(JniObjectReference, JniObjectReferenceOptions) |
Stores a reference value in the control block without creating a JNI reference copy. (Inherited from JavaObject) |
| ToArray<T>() |
Creates a managed array from this Java array wrapper. (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| UnregisterFromRuntime() |
Unregisters this Java peer from the interop runtime. (Inherited from Object) |
| Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
| Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
| Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJavaPeerable.Disposed() |
Marks this peer as disposed and calls |
| IJavaPeerable.Finalized() |
Marks this peer as disposed and calls |
| IJavaPeerable.JniObjectReferenceControlBlock |
Gets the native control-block pointer used by this peer. (Inherited from JavaObject) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
Stores the identity hash code supplied by the runtime. (Inherited from JavaObject) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
Replaces the stored managed peer state flags. (Inherited from JavaObject) |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
Updates the peer reference and releases a disposed peer's control block when the reference is invalid. (Inherited from JavaObject) |
Extension Methods
| Name | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
| JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) |
Reuses a compatible managed peer or obtains a wrapper of the requested type. |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |