Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

opacity paramterer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    opacity paramterer

    from where to where does the opacity parameter vary for brush? from 0 to 1 or from 0 to 255?
    Last edited by ttodua; 10-07-2019, 06:52 AM.

    #2
    Hello TazoTodua,

    Thanks for your post.

    Microsoft defines Windows Media Brush's Opacity property as follows.

    The value of the Opacity property is expressed as a value between 0.0 and 1.0. The default value is 1.0.

    Documentation linked below id publicly available.



    As an example, the following could be used to adjust brush opacity, where OPACITY is an int between 0 and 100.

    YourNewBrush.Opacity = OPACITY / 100.0;
    YourNewBrush.Freeze();

    Please let us know if you have any additional questions, please don't hesitate to ask.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X