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

  • Home
  • SEARCH
  • 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 4440530
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T13:04:05+00:00 2026-05-21T13:04:05+00:00

I have a question about drawBitmap. android.graphics.Canvas.drawBitmap(Bitmap bitmap, float left, float top, Paint paint)

  • 0

I have a question about drawBitmap.

android.graphics.Canvas.drawBitmap(Bitmap bitmap, float left, float top, Paint paint)

What does that Paint paint? For example I have a picture.jpg and I make

Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.picture);
  paint = new Paint(); 
paint.setColor(Color.BLUE);

canvas.drawBitmap(bitmap, 0, 0, paint);

What can I do with that “paint” when I have a real picture not some canvas.drawCircle. Is there any way I can change pictures color or something like that?

Yes and another question. For example I draw circle in mspaint in 80×80 size and my background stays plain white. When I use that drawing in my program it shows circle + that white background. Is there any way that there will be displayed only circle without background. Maybe somebody can suggest some program in which I can make that happen or which code should I use in my program? (circle is just example, there can be anything)
Yes and excuse to use circle’s background same as program’s background is not appropriate, because my program’s background isn’t white or black or any other color, it is picture.

  • 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-21T13:04:05+00:00Added an answer on May 21, 2026 at 1:04 pm
    1. Paint objects can affect the rendering of the Bitmap. For example, they be used to mask the drawing of the Bitmap.

    2. Save your circle as a PNG or GIF, and set the background as transparent (I do not know if MS Paint can do this).

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

Sidebar

Related Questions

I have a question about following variable declaration. What does that mean? List<string>.Enumerator enumerator
I have question about database optimizing, indexing. I have table that called projects and
I have question about my code which does the Hoare Partition Method. Here is
I have question about 301 Redirect please: example: http://stackapp.com/post/35642 to: http://google.com/posts/index.php?q=http://stackapp.com/post/35642 Note: I want
Hello I have question about android spinner I have spinner which is populated by
Hello I have question about android spinner I have spinner which is populated by
I have basic question about mysqli prepared statements. For example, I want to execute
I have question about NSView: Imagine a Custom View where the mouseDown, mouseDrag and
I have a question about using streams in .NET to load files from disk.
I have a question about best practices regarding how one should approach storing complex

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.