Method FastHasFlags
FastHasFlags(KittyKeyboardFlags, KittyKeyboardFlags)
Determines if the specified flags are set in the current value of this KittyKeyboardFlags.
public static bool FastHasFlags(this KittyKeyboardFlags e, KittyKeyboardFlags checkFlags)
Parameters
eKittyKeyboardFlagscheckFlagsKittyKeyboardFlags
Returns
- bool
True, if all flags present in
checkFlagsare also present in the current value of the KittyKeyboardFlags.
Otherwise false.
Remarks
NO VALIDATION IS PERFORMED!
FastHasFlags(KittyKeyboardFlags, int)
Determines if the specified mask bits are set in the current value of this KittyKeyboardFlags.
public static bool FastHasFlags(this KittyKeyboardFlags e, int mask)
Parameters
eKittyKeyboardFlagsThe KittyKeyboardFlags value to check against the
maskvalue.maskintA mask to apply to the current value.
Returns
- bool
True, if all bits set to 1 in the mask are also set to 1 in the current value of the KittyKeyboardFlags.
Otherwise false.
Remarks
NO VALIDATION IS PERFORMED!