Surface
Class
Definition
Namespace:Telerik.WinControls.Drawing
Assembly:Telerik.WinControls.dll
Syntax:
C#
public abstract class Surface
Inheritance: objectSurface
Derived Classes:
Constructors
C#
public Surface()
Properties
C#
public object DeviceContext { get; }
Methods
C#
public virtual RadDisplacementMapEffect CreateDisplacementMapEffect()
C#
public abstract RadBrush CreateLinearGradientBrush(RectangleF rectangle, GradientStop[] colorStops, float angle)
C#
public abstract RadBrush CreateLinearGradientBrush(RectangleF rectangle, GradientStop[] colorStops, RadLinearGradientMode mode)
C#
public abstract RadBrush CreateRadialBrush(PointF center, float xRadius, float yRadius, GradientStop[] colorStops)
C#
public abstract RoundedRectangle CreateRoundedRectangle(RectangleF rect, float radius)
C#
public abstract void DrawBorder(IBorderElement element, Path path)
C#
public abstract void DrawBorder(IBorderElement element, RectangleF rect)
C#
protected void DrawEllipse(RectangleF rectangle, RadBrush brush, float width)
C#
public abstract void DrawImage(IImageElement element, RectangleF rect)
C#
protected void DrawRectangle(RectangleF rectangle, RadBrush brush, float width)
C#
public abstract void DrawText(ITextElement element, RadBrush brush, RectangleF rect)
C#
public abstract void DrawText(string text, Font font, RadBrush brush, RectangleF rect, TextFormat textFormat)
C#
public abstract void EndDraw()
C#
protected void FillEllipse(RectangleF rectangle, RadBrush brush)
C#
protected virtual void FillOfficeGlass(Path inputPath, Color color1, Color color2, Color color3, Color color4, float gradientPercentage, float gradientPercentage2, bool fillEllipse)
C#
protected virtual void FillOfficeGlassMain(Color color3, RectangleF innerRectangle, bool fillEllipse)
C#
protected virtual void FillOfficeGlassOuterBorder(RectangleF originalRectangle, Color color3, int borderThicness, bool fillEllipse)
C#
protected virtual void FillOfficeGlassTopInnerBorder(RectangleF originalRectangle, Color color1, Color color4, int borderThicness, bool fillEllipse)
C#
public void FillRectangle(IFillElement element, RectangleF rect)
C#
protected void FillRectangle(RectangleF rectangle, RadBrush brush)
C#
protected abstract void FillRoundedRectangleCore(RoundedRectangle roundedRectangle, RadBrush brush)
C#
protected virtual GradientStop[] GetFillGelGradientStops(GradientStop[] colorStops, int colorCount)
C#
protected virtual GradientStop[] GetFillRadialGradientStops(GradientStop[] colorStops, int colorCount, float gradientPercentage, float gradientPercentage2)
C#
public abstract SizeF MeasureText(ITextElement element, SizeF availableSize)
C#
public abstract SizeF MeasureText(string text, Font font, SizeF availableSize, TextFormat textFormat)