738 views
in GUI Development by

What different for 'Image' and 'Bitmap Frame' of 'Views'

I drawing background of slider bar, the corner of right/left looks very strange if I used 'Bitmap Fram'(Views::Frame)'. please refer following image.

I changed to use 'Image'(Views::Image), then result is good. please refer following image.

I know that cause is effect by 'Edges property' of 'Bitmap Fram' after I study 'Mosaic User Manual', but I still have some confusing.
1. When need to use 'Bitmap Fram'? 
2. Is possible the result is same for 'Image' and 'Bitmap Frame'? If is possible, how to do?

1 Answer

0 votes
by
I understood 'Bitmap Frame' can auto scale up or down by 'Bounds' size now. please don't care this question.
by
Hi Steward,
yes - the idea of VIews::Frame is to create a graphical object that can be resized. Please note, that the single parts of the frame are not scaled - they are drawn repetitive (like a wallpaper).
For further explanations have a look to http://ask.embedded-wizard.de/177/drawing-rounded-rectangles

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...