Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6841895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:01:29+00:00 2026-05-27T00:01:29+00:00

The documentation is pretty vague as to what is actually happening when these methods

  • 0

The documentation is pretty vague as to what is actually happening when these methods are used. Can someone explain how Matrix actually affects the Bitmap that it’s being set to? They use the term concatenate in there, but I’m unclear on how that term applies to coordinate data (having only used it in regard to string manipulation before).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:01:30+00:00Added an answer on May 27, 2026 at 12:01 am

    The set-methods will replace the current Matrix with new values, disregarding whatever the Matrix contained before. The pre and post method will apply a new transformation before or after whatever the current Matrix contains.

    In this example, the rotation will be ignored since we are using the set method and the m will only contain a translation:

    Matrix m = new Matrix();

    m.setRotate(90);

    m.setTranslate(100, 100);

    In this example, the final matrix will be a translation followed by a rotation:

    Matrix m = new Matrix();

    m.setTranslate(100, 100);

    m.postRotate(90);

    In the final example, the final matrix will be a rotation followed by a translation:

    Matrix m = new Matrix();

    m.setTranslate(100, 100);

    m.preRotate(90);

    There is some more information in this (rather lengthy) post:

    https://medium.com/a-problem-like-maria/understanding-android-matrix-transformations-25e028f56dc7

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can read the MySQL documentation and it's pretty clear. But, how does one
The documentation is pretty confusing on this one: The implementation of accessor methods you
The web.xml Deployment Descriptor Elements in Oracle's BEA WebLogic Server 8.1 Documentation pretty much
The documentation with the module itself is pretty thin, and just tends to point
According to the documentation, they're pretty much interchangeable. Is there a stylistic reason to
My Virtual Machine's clock drifts pretty significantly. There's documentation out there about dealing with
Documentation can be found here It says in the example: onDrop: Called whenever a
Documentation simply states that setting setAutosavingDelay to anything > 0 on the shared doc
I'd like to play around with attribute value validation, but the documentation is pretty
I'm trying to figure out Django Groups and the documentation is pretty bare on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.