Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using MaskImage and bitmap with no Axis

Featured Replies

The code below seems to work without ill effect although neither the MaskImage nor the associated bitmap use Axis definitions. In this case, both the mask and its bitmap are a lot smaller than the background image but were equal to each other in pixel size. They were placed near the center of the background with the upper, left corner of both mask and bitmap at the coordinates shown. The Position coordinates made placing the mask and bitmap a piece of cake. Anyone have any experience with similar?Glenn(A:Flaps Handle Percent, percent) 10 /

I've fiddle with not using and axis. I can't swear that this is correct, but these were my impressions from my experiements:When you define an axis, that point is used for location placement. When you do not, placement is keyed to the upper left corner.Rotation and other movements are all calculated using the axis position.If you are not moving the bmp and are ok with placing it by referencing the upper left corner then there *seems* to be no harm by leaving the axis out.Scott / Vorlin

The bitmap is being moved, shifted, not rotated. In fact, I've since done additional mask/bitmaps without using Axis and all move as intended. Since these graphics are inside the same element, the 1,1,1 pixels still do their thing without an Axis.As you said, the placement is keyed to the upper, left corner for both mask and bitmap. The big benefit is the ease of placement of the mask and bitmap because they position themselves as you would expect. So far, I haven't noticed any downside, at least with these particular graphics. I was wondering if anyone had experience negative effects from this scheme that I have not run into thus far.Glenn

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.