Input for WinForms
DeviceContext クラス メンバ
プロパティ  メソッド 

C1.Win.Input.8 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 : DeviceContext クラス

DeviceContextデータ型で公開されるメンバを以下の表に示します。

パブリック プロパティ
 名前解説
Public プロパティGets or sets the color of the background of the device context.  
Public プロパティGets or sets the background mode of the device context.  
Public プロパティGets or sets the drawing direction of the circle shapes.  
Public プロパティGets or sets the handle of the current clipping region of the device context.  
Public プロパティGets or sets the color of the foreground of the device context.  
Public プロパティGets or sets a GraphicsMode indicating whether use the world transform in this DC.  
Public プロパティGets or [protected] sets the handle of the device context.  
Public プロパティGets or sets the mapping mode of the device context.  
Public プロパティGets the number of pixels per logical inch along the screen width. In a system with multiple display monitors, this value is the same for all monitors.  
Public プロパティGets the number of pixels per logical inch along the screen height. In a system with multiple display monitors, this value is the same for all monitors.  
Public プロパティGet or set the current foreground mix mode.GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.  
Public プロパティGets or sets the text-alignment flags for this device context.  
Public プロパティGets or sets the current intercharacter spacing for the device context.  
Public プロパティGets or sets the x-extent and y-extent of the current viewport for the device context.  
Public プロパティGets or sets the x-coordinates and y-coordinates of the viewport origin for the device context  
Public プロパティGets or sets the x-extent and y-extent of the current window for the device context.  
Public プロパティGets or sets the x-coordinates and y-coordinates of the window origin for the device context  
Public プロパティGets or sets the world transform.  
トップ
パブリック メソッド
 名前解説
Public メソッドオーバーロードされます。 Displays bitmaps that have transparent or semitransparent pixels.  
Public メソッドClips the device context by the specified rectangle and operation mode.  
Public メソッドオーバーロードされます。 Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source DeviceContext object into a destination DeviceContext object.  
Public メソッドstatic (Shared in Visual Basic)Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.  
Public メソッドReleases all resources used by this DeviceContext object.  
Public メソッドオーバーロードされます。 Draws a line segment and an arc. The line segment is drawn from the position which is defined by radius and startAngle. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.  
Public メソッドDraws the special line by using the current pen of the device context.  
Public メソッドDraws one or more Bezier curves.  
Public メソッドDraws a series of line segments by connecting the points in the specified array.  
Public メソッドDraws formatted text in the specified rectangle.  
Public メソッドオーバーロードされます。 Gradient fills the rectangle with colors.  
Public メソッドFills the region by the specified brush.  
Public メソッドDraws a border around the specified region by using the specified brush.  
Public メソッドGradient fills the triangle with specified colors.  
Public メソッドRetrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. The visible area is defined by the current clipping region or clip path, as well as any overlapping windows.  
Public メソッド System.MarshalByRefObjectから継承されます。
Public メソッドretrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.  
Public メソッドretrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior color and the color already on the screen are combined to yield a new color.  
Public メソッド System.MarshalByRefObjectから継承されます。
Public メソッドInverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel in the rectangle's interior.  
Public メソッドInverts the colors in the specified region.  
Public メソッドDraws formatted text in the specified rectangle.  
Public メソッドPaints a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.  
Public メソッドPaints an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.  
Public メソッドPaints a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.  
Public メソッドPaints a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.  
Public メソッドDraw the special rectangle by using the current pen of the device context and fill the rectangle by using the current brush of the device context.  
Public メソッドPaints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.  
Public メソッドconverts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation.  
Public メソッドconverts logical coordinates into device coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation.  
Public メソッドRestores the state of this C1.Framework.Drawing.Gdi.Graphics object to the state represented by a handle.  
Public メソッドSaves the current state of this C1.Framework.Drawing.Gdi.Graphics object and identifies the saved state with a handle.  
Public メソッドModifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.  
Public メソッドModifies the window for a device context using the ratios formed by the specified multiplicands and divisors.  
Public メソッドSelects an object into the specified device context(DC). The new object replaces the previous object of the same type.  
Public メソッドSets the color of the background of the device context.  
Public メソッドSets the background mode of the device context.  
Public メソッドSets the drawing direction of the circle shapes.  
Public メソッドCombines the specified region with the current clipping region using the specified mode.  
Public メソッドSets the color of the foreground of the device context.  
Public メソッドSets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface.  
Public メソッドSets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.  
Public メソッドSets the text-alignment flags for this device context.  
Public メソッドSets the current intercharacter spacing for the device context.  
Public メソッドSpecifies the amount of space the system should add to the break characters in a string of text. The space is added when an application calls the TextOut method.  
Public メソッドThe TabbedTextExtent method computes the width and height of a character string.If the string contains one or more tab characters, the width of the string is based upon the specified tab stops. The TabbedTextExtent method uses the currently selected font to compute the dimensions of the string.  
Public メソッドWrites a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color.  
Public メソッドComputes the width and height of the specified string of text.  
Public メソッドRetrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters.  
Public メソッドWrites a character string at the specified location, using the currently selected font, background color, and text color.  
Public メソッドMoves the clipping region of a device context by the specified offsets.  
Public メソッドModifies the viewport origin for a device context using the specified horizontal and vertical offsets.  
Public メソッドModifies the window origin for a device context using the specified horizontal and vertical offsets.  
トップ
参照

DeviceContext クラス
C1.Framework.Drawing.Gdi.DeviceContexts 名前空間