// Copyright © 2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.Structs { /// /// Represents an IME composition underline. /// public struct CompositionUnderline { /// /// Underline character range. /// public Range Range { get; private set; } /// /// Text color. 32-bit ARGB color value, not premultiplied. The color components are always /// in a known order. Equivalent to the SkColor type. /// public uint Color { get; private set; } /// /// Background color. 32-bit ARGB color value, not premultiplied. The color components are always /// in a known order. Equivalent to the SkColor type. /// public uint BackgroundColor { get; private set; } /// /// true for thickunderline /// public bool Thick { get; private set; } /// /// Constructor. /// /// Underline character range. /// Text color. 32-bit ARGB color value, not premultiplied. The color components are always in a known order. /// Equivalent to the SkColor type. /// Background color. 32-bit ARGB color value, not premultiplied. The color components are always in /// a known order. Equivalent to the SkColor type. /// True for thickunderline. public CompositionUnderline(Range range, uint color, uint backGroundColor, bool thick) : this() { Range = range; Color = color; BackgroundColor = backGroundColor; Thick = thick; } } }