In addition to the seven styles defined by the system, there is an eighth style that is user (or application) defined. By using the inside-frame style, an application can ensure that an object appears entirely within the specified dimensions, regardless of the geometric pen width. If the geometric pen is wider than a single pixel and a drawing function uses the pen to draw a border around a filled object, the system draws the border inside the object's frame. However, it operates differently when used with a geometric pen. ![]() The inside-frame style is identical to the solid style for cosmetic pens. The following illustration shows the seven of these styles that are defined by the system. ![]() ![]() The style attribute specifies the line pattern that appears when a particular cosmetic or geometric pen is used.
0 Comments
Leave a Reply. |