Class FindResultPainter
Implements
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.DesktopEditor.EditorApi.Implementation
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public sealed class FindResultPainter : AbstractMarkPainter, ITextMarkPainter
Constructors
FindResultPainter()
Declaration
public FindResultPainter()
Properties
FillColor
Declaration
public Color FillColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
PenColor
Declaration
public Color PenColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Methods
DrawMarkPart(Graphics, ITextMark, Rectangle, Rectangle, Boolean, Boolean)
Declaration
public override void DrawMarkPart(Graphics g, ITextMark mark, Rectangle boundingRectangle, Rectangle contentRectangle, bool isFirstLine, bool isLastLine)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | g | |
| ITextMark | mark | |
| Rectangle | boundingRectangle | |
| Rectangle | contentRectangle | |
| Boolean | isFirstLine | |
| Boolean | isLastLine |
Overrides
GetMarkPartBounds(Graphics, ITextMark, Rectangle, Boolean, Boolean)
Declaration
public override Rectangle GetMarkPartBounds(Graphics g, ITextMark mark, Rectangle contentRectangle, bool isFirstLine, bool isLastLine)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | g | |
| ITextMark | mark | |
| Rectangle | contentRectangle | |
| Boolean | isFirstLine | |
| Boolean | isLastLine |
Returns
| Type | Description |
|---|---|
| Rectangle |