Namespace TheArtOfDev.HtmlRenderer.Adapters
Classes
- RAdapter
Platform adapter to bridge platform specific objects to HTML Renderer core library.
Core uses abstract renderer objects (RAdapter/RControl/REtc...) to access platform specific functionality, the concrete platforms implements those objects to provide concrete platform implementation. Those allowing the core library to be platform agnostic.Platforms: WinForms, WPF, Metro, PDF renders, etc.
Objects: UI elements(Controls), Graphics(Render context), Colors, Brushes, Pens, Fonts, Images, Clipboard, etc.
- RBrush
Adapter for platform specific brush objects - used to fill graphics (rectangles, polygons and paths).
The brush can be solid color, gradient or image.
- RContextMenu
Adapter for platform specific context menu - used to create and show context menu at specific location.
Not relevant for platforms that don't render HTML on UI element.
- RControl
Adapter for platform specific control object - used to handle updating the control that the html is rendered on.
Not relevant for platforms that don't render HTML on UI element.
- RFont
Adapter for platform specific font object - used to render text using specific font.
- RFontFamily
Adapter for platform specific font family object - define the available font families to use.
Required for custom fonts handling: fonts that are not installed on the system.
- RGraphics
Adapter for platform specific graphics rendering object - used to render graphics and text in platform specific context.
The core HTML Renderer components use this class for rendering logic, extending this class in different platform: WinForms, WPF, Metro, PDF, etc.
- RGraphicsPath
Adapter for platform specific graphics path object - used to render (draw/fill) path shape.
- RImage
Adapter for platform specific image object - used to render images.
- RPen
Adapter for platform specific pen objects - used to draw graphics (lines, rectangles and paths)
Enums
- RGraphicsPath.Corner
The 4 corners that are handled in arc rendering.