CVB.Net 15.0
Loading...
Searching...
No Matches

Adorner to show image stats. More...

Inherits TextAdorner.

Public Member Functions

 ImageInfoAdorner (Display adornedDisplay)
 Ctor.
 

Static Public Attributes

const double DefaultAnchorDistance = 20.0
 Constant for the default distance to the lower right corner.
 
static readonly DependencyProperty AdornerVisibilityProperty
 Backing store of the AdornerVisibility property.
 
static readonly DependencyProperty AnchorRightProperty
 Backing store for the AnchorRight property.
 
static readonly DependencyProperty AnchorBottomProperty
 Backing store for the AnchorBottom property.
 
- Static Public Attributes inherited from TextAdorner
static readonly DependencyProperty FontBackgroundColorProperty
 Backing store for FontBackgroundColor property.
 
static readonly DependencyProperty FontFamilyProperty
 Backing store for the FontFamily property.
 
static readonly DependencyProperty FontShadowThicknessProperty
 Backing store for the FontShadowThickness property.
 
static readonly DependencyProperty FontSizeProperty
 Backing store for the FontSize property.
 
static readonly DependencyProperty FontStretchProperty
 Backing store of the FontStretch property.
 
static readonly DependencyProperty FontStyleProperty
 Backing store of the FontStyle property.
 
static readonly DependencyProperty FontWeightProperty
 Backing store for the FontWeight property.
 
static readonly DependencyProperty ForegroundProperty
 Backing store for Foreground property.
 

Protected Member Functions

override void OnRender (DrawingContext drawingContext)
 Renders the info.
 
- Protected Member Functions inherited from TextAdorner
 TextAdorner (UIElement adornedElement)
 Ctor.
 
FormattedText NewDefaultText (string text)
 Creates a new FormattedText based on the current culture and control font settings.
 
void DrawString (DrawingContext drawingContext, FormattedText text, Point location)
 Draws the given text with a drop shadow to ensure its visibility.
 

Properties

Visibility AdornerVisibility [get, set]
 Gets/sets the general show state of this adorner as configured by the display.
 
double AnchorRight [get, set]
 Gets/sets the anchor points right edge.
 
double AnchorBottom [get, set]
 Gets/sets the anchor points bottom edge.
 
- Properties inherited from TextAdorner
Color FontBackgroundColor [get, set]
 Gets/sets the background color for the font's background.
 
FontFamily FontFamily [get, set]
 Gets/sets the font family of the text.
 
double FontShadowThickness [get, set]
 Gets/sets the thickness of the border of the text.
 
double FontSize [get, set]
 Gets/sets the font size of the text.
 
FontStretch FontStretch [get, set]
 Gets/sets the font stretch of the text.
 
FontStyle FontStyle [get, set]
 Gets/sets the font style of the text.
 
FontWeight FontWeight [get, set]
 Gets/sets the font weight of the text.
 
Brush Foreground [get, set]
 Gets/sets the foreground brush to draw the text with.
 

Detailed Description

Adorner to show image stats.

Constructor & Destructor Documentation

◆ ImageInfoAdorner()

ImageInfoAdorner ( Display adornedDisplay)

Ctor.

Parameters
adornedDisplayAdorned display.

Member Function Documentation

◆ OnRender()

override void OnRender ( DrawingContext drawingContext)
protected

Renders the info.

Parameters
drawingContextContext to draw on.