borderPattern | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image, group | ||||||
Summary | Specifies the pattern of an object's border. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: button, card, control, effective, field, graphic, image, player, scrollbar Property: borderColor, borderWidth, foregroundPattern, height, markerFilled, menuMode, owner, patterns, pixels, shadowPattern, style, textStyle, threeD, width Command: group Function: stacks Glossary: audio clip, button menu, control, current stack, keyword, Mac OS, object, object type, property, Unix, video clip, Windows Object: button, EPS, field, stack | ||||||
Description | Use the borderPattern property to specify the border pattern of a button or scrollbar. Pattern images can be color or black-and-white. *Cross-platform note:* To be used as a pattern on Mac OS systems, an image must be 128x128 pixels or less, and both its height and width must be a power of 2. To be used on Windows and Unix systems, height and width must be divisible by 8. To be used as a fully cross-platform pattern, both an image's dimensions should be one of 8, 16, 32, 64, or 128. The borderPattern of controls is drawn starting at the control's upper right corner: if the control is moved, the pattern does not shift. Setting the borderPattern of an object to empty allows the borderPattern of the object's owner to show through. Use the effective keyword to find out what color is used for the object, even if its own borderPattern is empty. If the object's showBorder property is false, the borderPattern has no effect. The setting of the borderPattern property has different effects, depending on the object type:
If an object's borderPattern is set, the pattern is shown instead of the color specified by borderColor. | ||||||
Tags | ui |