Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Color from SharpDX.Direct2D1.Brush

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

    Color from SharpDX.Direct2D1.Brush

    Hi

    Is there some way to get Color info(name or rgb) from SharpDX.Direct2D1.Brush object?

    I want to check if ChartControl.GetBarOverrideBrush(ChartBars,Current Bars[0]) contains green color for example.

    #2
    Hello blekdzhon,

    Thank you for your post.

    I need to do some double checking on this for you. I will have a response for you tomorrow.

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Hello

      I've figured it out. It is possible to get SharpDX.Color4 from object properties using Reflection.

      It helped me to get the color of the candles that were overrided by another indicator.

      Previously I founded posts that it is impossible.

      Thank you.

      Comment


        #4
        It would be useful for other users if you could post that code or tell us how you did it

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X