public class DrawingContext extends DispatcherObject implements IDisposable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.DrawingContext
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.DrawingContext
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DrawingContext() |
DrawingContext(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DrawingContext |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DrawingContext, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
DrawDrawing(Drawing drawing) |
void |
DrawEllipse(Brush brush,
Pen pen,
Point center,
AnimationClock centerAnimations,
double radiusX,
AnimationClock radiusXAnimations,
double radiusY,
AnimationClock radiusYAnimations) |
void |
DrawEllipse(Brush brush,
Pen pen,
Point center,
double radiusX,
double radiusY) |
void |
DrawGeometry(Brush brush,
Pen pen,
Geometry geometry) |
void |
DrawGlyphRun(Brush foregroundBrush,
GlyphRun glyphRun) |
void |
DrawImage(ImageSource imageSource,
Rect rectangle) |
void |
DrawImage(ImageSource imageSource,
Rect rectangle,
AnimationClock rectangleAnimations) |
void |
DrawLine(Pen pen,
Point point0,
AnimationClock point0Animations,
Point point1,
AnimationClock point1Animations) |
void |
DrawLine(Pen pen,
Point point0,
Point point1) |
void |
DrawRectangle(Brush brush,
Pen pen,
Rect rectangle) |
void |
DrawRectangle(Brush brush,
Pen pen,
Rect rectangle,
AnimationClock rectangleAnimations) |
void |
DrawRoundedRectangle(Brush brush,
Pen pen,
Rect rectangle,
AnimationClock rectangleAnimations,
double radiusX,
AnimationClock radiusXAnimations,
double radiusY,
AnimationClock radiusYAnimations) |
void |
DrawRoundedRectangle(Brush brush,
Pen pen,
Rect rectangle,
double radiusX,
double radiusY) |
void |
DrawText(FormattedText formattedText,
Point origin) |
void |
DrawVideo(MediaPlayer player,
Rect rectangle) |
void |
DrawVideo(MediaPlayer player,
Rect rectangle,
AnimationClock rectangleAnimations) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
Pop() |
void |
PushClip(Geometry clipGeometry) |
void |
PushEffect(BitmapEffect effect,
BitmapEffectInput effectInput) |
void |
PushGuidelineSet(GuidelineSet guidelines) |
void |
PushOpacity(double opacity) |
void |
PushOpacity(double opacity,
AnimationClock opacityAnimations) |
void |
PushOpacityMask(Brush opacityMask) |
void |
PushTransform(Transform transform) |
void |
setJCOInstance(JCObject instance) |
CheckAccess, getDispatcher, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringDispose, ToIDisposablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DrawingContext()
throws java.lang.Throwable
java.lang.Throwablepublic DrawingContext(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DrawingContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DrawingContext, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDrawingContext instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable
java.lang.Throwablepublic void DrawDrawing(Drawing drawing) throws java.lang.Throwable
java.lang.Throwablepublic void DrawEllipse(Brush brush, Pen pen, Point center, AnimationClock centerAnimations, double radiusX, AnimationClock radiusXAnimations, double radiusY, AnimationClock radiusYAnimations) throws java.lang.Throwable
java.lang.Throwablepublic void DrawEllipse(Brush brush, Pen pen, Point center, double radiusX, double radiusY) throws java.lang.Throwable
java.lang.Throwablepublic void DrawGeometry(Brush brush, Pen pen, Geometry geometry) throws java.lang.Throwable
java.lang.Throwablepublic void DrawGlyphRun(Brush foregroundBrush, GlyphRun glyphRun) throws java.lang.Throwable
java.lang.Throwablepublic void DrawImage(ImageSource imageSource, Rect rectangle) throws java.lang.Throwable
java.lang.Throwablepublic void DrawImage(ImageSource imageSource, Rect rectangle, AnimationClock rectangleAnimations) throws java.lang.Throwable
java.lang.Throwablepublic void DrawLine(Pen pen, Point point0, AnimationClock point0Animations, Point point1, AnimationClock point1Animations) throws java.lang.Throwable
java.lang.Throwablepublic void DrawLine(Pen pen, Point point0, Point point1) throws java.lang.Throwable
java.lang.Throwablepublic void DrawRectangle(Brush brush, Pen pen, Rect rectangle) throws java.lang.Throwable
java.lang.Throwablepublic void DrawRectangle(Brush brush, Pen pen, Rect rectangle, AnimationClock rectangleAnimations) throws java.lang.Throwable
java.lang.Throwablepublic void DrawRoundedRectangle(Brush brush, Pen pen, Rect rectangle, AnimationClock rectangleAnimations, double radiusX, AnimationClock radiusXAnimations, double radiusY, AnimationClock radiusYAnimations) throws java.lang.Throwable
java.lang.Throwablepublic void DrawRoundedRectangle(Brush brush, Pen pen, Rect rectangle, double radiusX, double radiusY) throws java.lang.Throwable
java.lang.Throwablepublic void DrawText(FormattedText formattedText, Point origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidCastException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, InvalidEnumArgumentException, Win32Exception, SecurityException, IOException
public void DrawVideo(MediaPlayer player, Rect rectangle) throws java.lang.Throwable
java.lang.Throwablepublic void DrawVideo(MediaPlayer player, Rect rectangle, AnimationClock rectangleAnimations) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class DispatcherObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDisposablegetJCOClassName in class DispatcherObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDisposablegetJCOInstance in class DispatcherObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDisposablegetJCOObjectName in class DispatcherObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDisposablegetJCOType in class DispatcherObjectJCType representing the CLR Type of the instantiated Classpublic void Pop()
throws java.lang.Throwable
java.lang.Throwablepublic void PushClip(Geometry clipGeometry) throws java.lang.Throwable
java.lang.Throwablepublic void PushEffect(BitmapEffect effect, BitmapEffectInput effectInput) throws java.lang.Throwable
java.lang.Throwablepublic void PushGuidelineSet(GuidelineSet guidelines) throws java.lang.Throwable
java.lang.Throwablepublic void PushOpacity(double opacity)
throws java.lang.Throwable
java.lang.Throwablepublic void PushOpacity(double opacity,
AnimationClock opacityAnimations)
throws java.lang.Throwable
java.lang.Throwablepublic void PushOpacityMask(Brush opacityMask) throws java.lang.Throwable
java.lang.Throwablepublic void PushTransform(Transform transform) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DispatcherObject