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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    72 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    38 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    99 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    60 views
    0 likes
    Last Post PaulMohn  
    Working...
    X