Clearing pixels?

About Monkey 2 Forums Monkey 2 Programming Help Clearing pixels?

This topic contains 4 replies, has 2 voices, and was last updated by  Jesse 2 years, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4246

    Jesse
    Participant

    Is there a way to clear specific pixels from an image. I know I can use “Clear” to clear the whole image but what if I just want to clear specific area or a single pixel? Is there a way to do this?

    #4257

    Mark Sibly
    Keymaster

    DrawPixel?

    #4258

    Jesse
    Participant

    can I clear a pixel from the canvas Image to 0,0,0,0? I know I can draw a pixel with alpha 0 and it will just leave the canvas pixel as is but I need to clear the canvas pixel alpha to 0. I mean the canvas from an image.

    #4262

    Mark Sibly
    Keymaster
    #4263

    Jesse
    Participant

    Got it! Thanks Mark.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.