patterns | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | Specifies all the patterns of an object, in shorthand form. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: lines, image, line Property: foregroundPattern, backgroundPattern, hilitePattern, borderPattern, topPattern, bottomPattern, shadowPattern, focusPattern, colors, properties, owner, ID Function: stacks Glossary: object, property, current stack, inheritance | ||||||
Description | Use the patterns property to get all eight basic pattern properties at once, or to set the patterns of one object to be the same as the patterns of another object. You can set all these patterns individually; the patterns property simply provides a shorter method of dealing with all of them at once. Each line of the patterns corresponds to one of the following pattern properties :
If you leave a line blank when setting the patterns, the pattern property corresponding to that line is left unchanged. If the patterns property of an object reports a blank line, the corresponding pattern is not set for the individual object, but is inherited from the object's owner. Use the form the effective patterns of object to obtain the patterns used for the object, whether set for the object or inherited. If a pattern is set for an object, that pattern is used instead of the corresponding color for that object. | ||||||
Tags | ui |