This interface is implemented by a pattern object. Use the global createPattern method to create a pattern object.
interface IPattern {
// Properties
readonly ${empty}: boolean;
readonly ${size}: number;
readonly ${data}: Uint8Array;
}
// This interface is not available in managed environment
// This interface is not available in native environment
readonly empty: boolean;
// This property is not available in managed environment
// This property is not available in native environment
Returns true
if pattern is empty and false
otherwise.
readonly size: number;
// This property is not available in managed environment
// This property is not available in native environment
Returns the total size of a pattern.
readonly data: Uint8Array;
// This property is not available in managed environment
// This property is not available in native environment
Return a pattern's data array.