skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IPaintingContext

Namespace: Telerik.WinControls.UI.Diagrams
Assembly: Telerik.WinControls.RadDiagram.dll

Syntax

public interface IPaintingContext

Properties

ClipBounds

Declaration
RectangleF ClipBounds { get; }
Property Value
System.Drawing.RectangleF

ScaleFactor

Declaration
SizeF ScaleFactor { get; }
Property Value
System.Drawing.SizeF

Methods

DrawEllipse(RectangleF, Pen)

Declaration
void DrawEllipse(RectangleF rectangle, Pen pen)
Parameters
System.Drawing.RectangleF rectangle

System.Drawing.Pen pen

DrawImage(Image, RectangleF, Double)

Declaration
void DrawImage(Image image, RectangleF rectangle, double opacity)
Parameters
System.Drawing.Image image

System.Drawing.RectangleF rectangle

System.Double opacity

DrawLine(PointF, PointF, Pen)

Declaration
void DrawLine(PointF startPoint, PointF endPoint, Pen pen)
Parameters
System.Drawing.PointF startPoint

System.Drawing.PointF endPoint

System.Drawing.Pen pen

DrawLines(PointF[], Pen)

Declaration
void DrawLines(PointF[] pointF, Pen pen)
Parameters
System.Drawing.PointF[] pointF

System.Drawing.Pen pen

DrawPath(Point[], Pen)

Declaration
void DrawPath(Point[] pointF, Pen pen)
Parameters
Point[] pointF

System.Drawing.Pen pen

DrawPolygon(Point[], Pen)

Declaration
void DrawPolygon(Point[] pointF, Pen pen)
Parameters
Point[] pointF

System.Drawing.Pen pen

DrawRectangle(RectangleF, Pen)

Declaration
void DrawRectangle(RectangleF rectangle, Pen pen)
Parameters
System.Drawing.RectangleF rectangle

System.Drawing.Pen pen

FillEllipse(RectangleF, Brush)

Declaration
void FillEllipse(RectangleF rectangle, Brush brush)
Parameters
System.Drawing.RectangleF rectangle

System.Drawing.Brush brush

FillPolygon(Point[], Brush)

Declaration
void FillPolygon(Point[] pointF, Brush brush)
Parameters
Point[] pointF

System.Drawing.Brush brush

FillRectangle(RectangleF, Brush)

Declaration
void FillRectangle(RectangleF rectangle, Brush brush)
Parameters
System.Drawing.RectangleF rectangle

System.Drawing.Brush brush

InvertRectangle(RectangleF)

Declaration
void InvertRectangle(RectangleF rectangle)
Parameters
System.Drawing.RectangleF rectangle

ResetTransformation()

Declaration
void ResetTransformation()

ScaleTransformation(Single, Single)

Declaration
void ScaleTransformation(float x, float y)
Parameters
System.Single x

System.Single y

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.