---
title: Helena Publications
description: Recent publications of research related to the Helena web automation language.
permalink: /publications
layout: default
---
Skip Blocks: Reusing Execution History to Accelerate Web Scripts
Sarah Chasins, Rastislav Bodik
OOPSLA '17: Proceedings of the 2017 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications
Rousillon: Scraping Distributed Hierarchical Web Data
Sarah Chasins, Maria Mueller, Rastislav Bodik
UIST '18: Proceedings of the 31st Annual ACM Symposium on User Interface Software and Technology
Ringer: Web Automation by Demonstration
Shaon Barman, Sarah Chasins, Rastislav Bodik, Sumit Gulwani
OOPSLA '16: Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications
Browser Record and Replay as a Building Block for End-User Web Automation Tools
Sarah Chasins, Shaon Barman, Rastislav Bodik, Sumit Gulwani
WWW '15: Proceedings of the 24th International Conference on World Wide Web Companion


Thomas Denecker
PhD studient
I am a Php student in computational biology and bioinformatics. I realize my thesis under the direction of Gaëlle Lelandais in the BIM team of Institut de Biologie Intégrative de la Cellule (I2BC) directed by Olivier Lespinet.
This project has also grown thanks to our collaborators:


EXPERIMENTAL DETERMINATION OF THREE-DIMENSTONAL
LIQUID ROCKET NOZZLE ADMITTANCES
A THESIS Presented to The Faculty of the Division of Graduate Studies and Research By William Aivin Beil
in Partial Fulfillment of the Requirements for the Degree
Doctor of Philosophy in the School of Aerospace Engineering
Georgia Institute of Technology
July, 1972
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.


Matthew Ward
Computer Programmer
Hello world...I am a computer programmer currently enrolled in a full stack front end bootcamp at UPenn. I am located in South Jersey, right outside of Philadelphia. Not only am I a programmer but also a full-time father to the most amazing boy in the entire world! I am chasing my dream of making a career in this field and I hope you follow along with me on my journey. My drive and passion for programming comes from two things I love in life, problem solving and technology. I have always been someone who looks at really just about anything and thinks to myself, how can I improve upon it. I had always had ideas of how to do this, whether it be building an entirely new application or bettering what already exists. I just didn't have the technical background to do so, now I am able to and it is truly exciting. Be sure to stop back often to see what I've been working on!


@(products: List[Product])(implicit assetsFinder: AssetsFinder)
This web app is done with play Scala - would like in the future to connect against hive and use websockets


If you are someone who loves to explore regional Indian cuisines, you would be well-versed with the many regional cuisines of south India. The south Indian region has a repertoire of delicacies that differs in everything, from flavour to texture, depending upon the state. Chettinad cuisine, for instance, is from the chettinad region of Tamil Nadu that boasts of some brilliant delicacies. The cuisine is deemed to be one of the spiciest in India and is known for the complexity of flavours. One of the distinct qualities of the dishes in chettinad is that it uses freshly ground local spices such as star anise, kalpasi (stone flower) and maratti mokku (dried flower pods).
Chettinad cuisine has a string of non-vegetarian dishes to its credit and due to the vast coastline, seafood adorns many dinner tables in the region, but that does not let the vegetarian specialities shy away. While chicken chettinad or chettinad fish fry might be the star dishes, mushroom chettinad is sure to please the taste buds.


corners
boolean
-
default: true
Sets whether to draw the popup with rounded corners. This option is also exposed as a data attribute: data-corners="false"
$( ".selector" ).popup({ corners: false });
history
boolean
-
default: true
Sets whether to alter the url when a popup is open to support the back button. Also exposed as a data attribute: data-history="false"
$( ".selector" ).popup({ history: false });
initSelector
CSS selector string
-
default: ":jqmData(role='popup')"
This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as popups. To change which elements are initialized, bind this option to the mobileinit event:
$( document ).bind( "mobileinit", function(){
$.mobile.popup.prototype.options.initSelector = ".mypopup";
});
overlayTheme
string
-
default: null
Sets the color scheme (swatch) for the popup background, which covers the entire window. If not explicitly set, the background will be transparent.
$( ".selector" ).popup({ overlayTheme: "a" });
This option is also exposed as a data attribute: data-overlay-theme="a"
positionTo
string
-
default: "origin"
Sets the element relative to which the popup will be centered. It has the following values:
"origin" |
When the popup opens, center over the coordinates passed to the open() call (see methods page).
|
"window" |
When the popup opens, center in the window.
|
| jQuery selector |
When the popup opens, create a jQuery object based on the selector, and center over it. The selector is filtered for elements that are visible with ":visible" . If the result is empty, the popup will be centered in the window.
|
This option is also exposed as a data attribute: data-position-to="window"
shadow
boolean
-
default: true
Sets whether to draw a shadow around the popup. This option is also exposed as a data attribute: data-shadow="false"
$( ".selector" ).popup({ shadow: false });
theme
string
-
default: null
Sets the color scheme (swatch) for the popup contents. Unless explicitly set to 'none'
, the
theme for the popup will be assigned the first time the popup is shown by inheriting the page theme or, failing that, by the hard-coded value 'c'
. If you set it to 'none', the popup will not have any theme at all, and will be transparent.
$( ".selector" ).popup({ theme: "a" });
This option is also exposed as a data attribute: data-theme="a"
tolerance
string
-
default: "30,15,30,15"
Sets the minimum distance from the edge of the window for the corresponding edge of the popup. By default, the values above will be used for the distance from the top, right, bottom, and left edge of the window, respectively.
You can specify a value for this option in one of four ways:
- Empty string, null, or some other falsey value. This will cause the popup to revert to the above default values.
- A single number. This number will be used for all four edge tolerances.
- Two numbers separated by a comma. The first number will be used for tolerances from the top and bottom edge of the window, and the second number will be used for tolerances from the left and right edge of the window.
- Four comma-separated numbers. The first will be used for tolerance from the top edge, the second for tolerance from the right edge, the third for tolerance from the bottom edge, and the fourth for tolerance from the left edge.
transition
string
-
default: "none"
Sets the default transition for the popup. The default value will result in no transition.
If the popup is opened from a link, and the link has the data-transition
attribute set, the value specified therein will override the value of this option at the time the popup is opened from the link.


Home
Order
Pizza Size
Small
Medium
Large
Crust
Thin Crust
Thick Crust
Pan Crust
Deep Crust
Cheese Filled Crust
Stuffed Crust
Toppings
Ham, pineapple, Cheese
Bacon, shrimp, tomato sauce
Barbecue sauce, chicken
Taco toppings, picante sauce
Kale, ricotta, and sausage
Garlic and ranch, Garlic ranch sauce
Any comments should be written here.
Amount
Order
Deliver
Reservation
Enter your location:
Select you area...
City Center
Gacuriro
Gikondo
Kagarama
Kimironko
Remera
Gisozi
Kabeza
Kabuga
Kacyiru
Kagugu
Kanombe
Kibagabaga
Kimihurura
Nyabugogo
Kiyovu
Muhima
Nyarutarama
Submit
Enter full name and table size:
Submit
Checkout
Order(s):
Price(s):
The total price is:


I am pleased to announce my new exploration of art and blockchain.
I’m entering the blockchain with Team Human Project, a new art project which enables art lovers, investors and collectors to participate in my art practice and collect my work using the blockchain as the main platform.
The project is both an exploration of blockchain’s language and mechanisms, and a new form of connection between visual art, artist and audience. The project includes a video piece, prints, a blockchain certificate and a crypto-token.
A new dynamic portrait-based video artwork that creates a unique transformable face built from Team Human members. The piece will be created, displayed and collected through the blockchain network.
The piece is an extension of a series of real-time portraits that I have been working on and exhibiting in recent years around the world.
In addition, a series of 5 original prints based on the piece will be created. Purchased editions of Team Human art pieces are tracked and notarized with the identity of the buyer on the Ethereum blockchain.
A new-media art that happens simultaneously in the physical world and the virtual world on the blockchain.
Created and performed to manifest the spirit of the new era of decentralized art. The work will be both created and presented in a performance art happening in which Shirley Short, the artist, and Dr. Mili Perry, a blockchain art expert interact with invited art collectors and blockchain fans in a workshop like settings.
Participants take part in the Team Human project as it is dynamically takes form on the blockchain and in the session’s space. They will learn about the operative tools and potential of tomorrow’s art world. We will explore together how the blockchain will transform the art world and will provide an opportunity for participants to take part of in the creation of a blockchain art piece by Shirley Shor.
Team Human will be performed at the Ethereal Summit NY on May 10th and 11th. Register to secure your participation. Get The Poster.
Each Team Human print or video buyer (a ShorT token holder) received a personalized Team Human certificate. The certificate is also by itself a Team Human Art Piece. It exists both in the physical world and on the blockchain.
Purchasers of 1 ShorT join Team Human, have an option to have their photo used in team human art pieces, and receive a printed certificate art piece, and an an priority option to buy a print or a video later.


You need a light or else you wouldn't see anything
If we look at the code the is no a-light
A-frame add a default light for us
Lights
Look at scene l2.html
We added a directional light which streams photons from the upper right
Uncomment line 12 and you will have light from both directions
Comment line 12 and uncomment line 13
Anbient Lights
Look at scene l2.html
Comment lines 12 and line 13
Uncomment line 14 to add an ambient light
Ambient lights affect all places in the scene, regardless of what direction
they are facing.
Make suer to not make your ambient lights to intense or it will overide your
directional light
Point Light and Emissive Materials
Look at scene l3.html
On line 12 we have created a sphere which has an emmisive attribute
An emmisive color allows an object to cast it's own light
The emissive color makes the moon visible, but it doesn't produce light that
shines on the rest of the
scene.
Point Light and Emissive Materials
Look at scene l3.html
On line 13 we attach a point light to the sphere
Point lights are similar to directional lights except that the intensity
decreases as objects get further
away from the light.
Shadows
Look at scene l4.html
Shadows are very expensive to compute so they are turned off by default.
To work with shadows we need to think of three things:
Which light will be used to create the shadow (the moon light)
Which object will cast a shadow (the cube)
which object will receive a shadow (the plane)
Shadows
Look at scene l4.html
To turn on shadows we need to add castShadow:true; to the light, line 14
The we add shadow="cast: true" to the cube, line 20
And we add shadow="receive: true" to the plane, line 19
Components of A-Frame’s entity-component framework are JavaScript modules that can be mixed, matched,
and composed onto entities
to build appearance, behavior, and functionality. We can register component in JavaScript and and add it
to an a-entity tag. Components are configurable, reusable, and shareable. Most code in an A-Frame
application should live within components.
You use the AFRAME.registerComponent() function to register a component, do this before
Have a look at 1.html
You can also define an AFRAME.registerComponent() in a seperate file
Have a look at the content of the template folder
Default functions of a component
Inside the template folder, look at the file mycomponent.js
This is a boilerplate that show all the built in functions that a-frame gives us
We will mainly use the init() which is called once when the component is first plugged into its
entity.
We’ll go over examples on writing components. The examples will do mostly trivial things at first but
will build up in complexity as we go.
Let's look at the code in 2.html
After the entity is attached and initialized, it will initialize our hello-world component. The
wonderful thing about components is that they are called only after the entity is ready.
Defining Properties with the Schema
The schema defines the properties of its component. As an analogy, if we think of a component as
a function, then a component’s properties are like its function arguments.
Have a look at 3.html and try uncommenting line 28
Lets look at the Component API reference to see the schema type available


Page 1 of 1
Is anyone
Posted:
Wed Jun 13, 2007 11:21 am
by thadiusofx3
working on the starting continent?
http://upload6.postimage.org/132280/photo_hosting.html
Everyone is making all these cool dungeons which is fine, but we really need to get this starting continent finished.
Since the old mapmaker maps aren't compatible anymore, the ones that were finished need to be remade.
Just like in the old thread, post here what section you're working on.
Posted:
Thu Jun 21, 2007 4:08 pm
by 9sam1
yes we need to do this. Are the map sizes still the same now?
Posted:
Tue Jun 26, 2007 3:43 pm
by a_link_to_the_past
I would try to make a map for a section, but I don't know exactly how to tell how many tiles I have gone in a specific direction... just out of curosity I tried scrolling on the map editor as far in one direction... and I ended up quitting on the scrolling because it seemed like it went on forever in all directions...
Posted:
Tue Jun 26, 2007 5:45 pm
by Karl G.
You are correct--the map editor is infinite* in all directions. I wouldn't worry too much about making the things exactly the right size; if necessary, count them (i know thats a pain, sorry
) but it can always be fixed when the map is stitched together.
I think a better idea would be to have people make "areas" and just fill in the stuff between them once the final map is put together.
*The map can extend up to 2 147 483 648 spaces in each direction.
Posted:
Tue Jun 26, 2007 8:12 pm
by a_link_to_the_past
Perhaps in the future for the map editor, you could have something on the bottom stating the "x" and "y" coordinates of the mouse pointer on the map in reference to the giant + thats in the middle of the map.
Posted:
Wed Jun 27, 2007 7:02 am
by Karl G.
Yeah that wouldn't be hard to add. It requires a font engine to draw stuff to the screen, so I might put the coordinates in the title bar or something for now (yup, lame eh?)

Posted:
Thu Jun 28, 2007 7:01 pm
by a_link_to_the_past
Alright now that I have coordinates I will be able to actually put something together... and know if it is the right size... so what sections have been done? As soon as I know where to start I will start getting some maps done
Posted:
Thu Jun 28, 2007 9:25 pm
by Karl G.
I don't think any sections are finished in the new map editor.
PS--i'm still trying to figure out how to do dirt-grass blending and water edges nicely. I'm focusing on getting the network functional right now, though, so unless some idea smacks me in the face im not going to mess with it
Posted:
Sat Jun 30, 2007 11:35 am
by a_link_to_the_past
Ok. I have started working on section ghi 789... I am curious as to how dungeons work... I am not exactly sure to I just place the dungeon on that section or do I save the dungeon as a seperate map and just put the entrance on the section I am working on...
Posted:
Fri Jul 06, 2007 8:19 am
by Vitriol
dungeons are typically hidden in mountains (and the stairs teleport you to them) or are put on a seperate map file.
Posted:
Fri Jul 06, 2007 10:21 am
by a_link_to_the_past
Ahh thanks for the information that helps out greatly
Posted:
Fri Jul 06, 2007 5:43 pm
by Karl G.
Usually being the key word
You can make dungeons in a completely separate map file, and we'll just stick them somewhere out in the black when it's all stitched together. In fact, it might be better (for re-usability) if they were.


This is list of my favorite place that I have visited
Canada
All of Maine
Salt Lake City
Heres a link of things to do in Canada
Granville Island.


---
layout: post
title: New Ubuntu Installed
---
{{ page.title }}
. 2 Nov 2008 - Johannesburg
I Just upgraded to the new Ubuntu - Intrepid Ibex - so far so good.  It looks great and the Network manager seems to work slightly better.For a full list of new features go here.


{% extends "base.html" %} {% block morehead %} {% endblock %} {% block properties %} Resident Population 07/2013 (est) Total Land Area Entropy of Hashtag Distribution Number of Users Number of Tweeted Hashtags Number of Distinct Hashtags Log(Tweeted Hashtags) / Log(Distinct Hashtags) Ratio of Hashtags with less than 10 counts Ratio of Hashtags with less than 2 counts Ratio of UnionX70 Hashtags with less than 2 counts Ratio of UnionX80 Hashtags with less than 2 counts Ratio of UnionX90 Hashtags with less than 2 counts Included Ratio of Top 5000 Hashtags Included Ratio of Union-70% Top Hashtags Included Ratio of Union-80% Top Hashtags Included Ratio of Union-90% Top Hashtags Relative Fisher Scores (n=100) Relative Fisher Scores (n=200) {% endblock %} {% block body %}


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/monotone.html ---
sehr geehrter @Johannes Hölzl , monotone doesn't mean what you think it means
What is the difference between https://github.com/leanprover/mathlib/blob/master/order/basic.lean#L19
def monotone (f : α → β) := ∀⦃a b⦄, a ≤ b → f a ≤ f b
and
class is_ord_hom (f : α → α) : Prop := (ord : ∀ x y, x ≤ y → f x ≤ f y)
?
Monotone is a little bit more general, but not a type class...
@Johannes Hölzl monotone means increasing or decreasing
at least in where I'm from
Not in order theory, the "Monotonicity in order theory" section in https://en.wikipedia.org/wiki/Monotonic_function tells us that it means what you maybe call an increasing function.
fair enough
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Class Graphics
Encapsulates a Direct2D drawing surface.
Implements
Inherited Members
Namespace: GameOverlay.Drawing
Assembly: GameOverlay.dll
Syntax
public class Graphics : IDisposable
Constructors
| Improve this Doc View SourceGraphics()
Initializes a new Graphics surface.
Declaration
public Graphics()
Graphics(IntPtr)
Initializes a new Graphics surface using a window handle.
Declaration
public Graphics(IntPtr windowHandle)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | windowHandle | A handle to the window used as a surface. |
Graphics(IntPtr, Int32, Int32)
Initializes a new Graphics surface using a window handle and its width and height.
Declaration
public Graphics(IntPtr windowHandle, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | windowHandle | A handle to the window used as a surface. |
| Int32 | width | A value indicating the width of the surface. |
| Int32 | height | A value indicating the height of the surface. |
Properties
| Improve this Doc View SourceFPS
Specifies the images per second in which this graphics device redraws.
Declaration
public int FPS { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Height
Gets or sets the width of this Graphics surface.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
IsDrawing
Indicates whether this Graphics surface is currently drawing on a Scene.
Declaration
public bool IsDrawing { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsInitialized
Indicates whether this Graphics surface is initialized.
Declaration
public bool IsInitialized { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsResizing
Indicates whether this Graphics surface will change its size on the next Scene.
Declaration
public bool IsResizing { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
MeasureFPS
Determines whether this Graphics device will measure the resulting frames per second.
Declaration
public bool MeasureFPS { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
PerPrimitiveAntiAliasing
Determines whether Anti-Aliasing for each primitive (Line, Rectangle, Circle, Geometry) is enabled.
Declaration
public bool PerPrimitiveAntiAliasing { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
TextAntiAliasing
Determines whether Anti-Aliasing for Text is enabled.
Declaration
public bool TextAntiAliasing { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
UseMultiThreadedFactories
Determines whether factories (Font, Geometry, Brush) will be used in a multi-threaded environment.
Declaration
public bool UseMultiThreadedFactories { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
VSync
Determines whether this Graphics surface will be locked to the monitors refresh rate.
Declaration
public bool VSync { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Width
Gets or sets the width of this Graphics surface.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
WindowHandle
Gets or sets the window handle of the Graphics surface.
Declaration
public IntPtr WindowHandle { get; set; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
Methods
| Improve this Doc View SourceBeginScene()
Starts a new Scene (Frame).
Declaration
public void BeginScene()
ClearScene()
Clears the current Scene (Frame) using a transparent background color.
Declaration
public void ClearScene()
ClearScene(Color)
Clears the current Scene (Frame) using the given background color.
Declaration
public void ClearScene(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The background color of this Scene. |
ClearScene(SolidBrush)
Clears the current Scene (Frame) using the given brush.
Declaration
public void ClearScene(SolidBrush brush)
Parameters
| Type | Name | Description |
|---|---|---|
| SolidBrush | brush | The brush used to draw the background of this Scene. |
ClipRegionEnd()
Removes the last clip from the render target. After this method is called, the clip is no longer applied to subsequent drawing operations.
Declaration
public void ClipRegionEnd()
ClipRegionStart(Rectangle)
Specifies a rectangle to which all subsequent drawing operations are clipped.
Declaration
public void ClipRegionStart(Rectangle region)
Parameters
| Type | Name | Description |
|---|---|---|
| Rectangle | region | A Rectangle representing the size and position of the clipping area. |
ClipRegionStart(Single, Single, Single, Single)
Specifies a rectangle to which all subsequent drawing operations are clipped.
Declaration
public void ClipRegionStart(float left, float top, float right, float bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
CreateFont(String, Single, Boolean, Boolean, Boolean)
Creates a new Font by using the given font family, size and styles.
Declaration
public Font CreateFont(string fontFamilyName, float size, bool bold = false, bool italic = false, bool wordWrapping = false)
Parameters
| Type | Name | Description |
|---|---|---|
| String | fontFamilyName | The name of any installed font family. |
| Single | size | A value indicating the size of a font in pixels. |
| Boolean | bold | A Boolean determining whether this font is bold. |
| Boolean | italic | A Boolean determining whether this font is italic. |
| Boolean | wordWrapping | A Boolean determining whether this font uses word wrapping. |
Returns
| Type | Description |
|---|---|
| Font |
CreateGeometry()
Creates a new Geometry used to draw complex figures.
Declaration
public Geometry CreateGeometry()
Returns
| Type | Description |
|---|---|
| Geometry | The Geometry this method creates. |
CreateImage(Byte[])
Creates a new Image by using the given bytes.
Declaration
public Image CreateImage(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | bytes | An image loaded into a byte array. |
Returns
| Type | Description |
|---|---|
| Image | The Image this method creates. |
CreateImage(String)
Creates a new Image from an image file on the disk.
Declaration
public Image CreateImage(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | The path to an image file. |
Returns
| Type | Description |
|---|---|
| Image | The Image this method creates. |
CreateSolidBrush(Color)
Creates a new SolidBrush by using the given color structure.
Declaration
public SolidBrush CreateSolidBrush(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | A value representing the ARGB components used to create a SolidBrush. |
Returns
| Type | Description |
|---|---|
| SolidBrush | The SolidBrush this method creates. |
CreateSolidBrush(Int32, Int32, Int32, Int32)
Creates a new SolidBrush by using the given color components.
Declaration
public SolidBrush CreateSolidBrush(int r, int g, int b, int a = 255)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | r | The red component value of this color. |
| Int32 | g | The green component value of this color. |
| Int32 | b | The blue component value of this color. |
| Int32 | a | The alpha component value of this color. |
Returns
| Type | Description |
|---|---|
| SolidBrush | The SolidBrush this method creates. |
CreateSolidBrush(Single, Single, Single, Single)
Creates a new SolidBrush by using the given color components.
Declaration
public SolidBrush CreateSolidBrush(float r, float g, float b, float a = 1F)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | r | The red component value of this color. |
| Single | g | The green component value of this color. |
| Single | b | The blue component value of this color. |
| Single | a | The alpha component value of this color. |
Returns
| Type | Description |
|---|---|
| SolidBrush | The SolidBrush this method creates. |
DashedCircle(IBrush, Circle, Single)
Draws a circle with a dashed line by using the given brush and dimension.
Declaration
public void DashedCircle(IBrush brush, Circle circle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Circle | circle | A Circle structure which includes the dimension of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DashedCircle(IBrush, Point, Single, Single)
Draws a circle with a dashed line by using the given brush and dimension.
Declaration
public void DashedCircle(IBrush brush, Point location, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DashedCircle(IBrush, Single, Single, Single, Single)
Draws a circle with a dashed line by using the given brush and dimension.
Declaration
public void DashedCircle(IBrush brush, float x, float y, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Single | x | The x-coordinate of the center of the circle. |
| Single | y | The y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DashedEllipse(IBrush, Ellipse, Single)
Draws an ellipse with a dashed line by using the given brush and dimension.
Declaration
public void DashedEllipse(IBrush brush, Ellipse ellipse, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Ellipse | ellipse | An Ellipse structure which includes the dimension of the ellipse. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
DashedEllipse(IBrush, Point, Single, Single, Single)
Draws an ellipse with a dashed line by using the given brush and dimension.
Declaration
public void DashedEllipse(IBrush brush, Point location, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
DashedEllipse(IBrush, Single, Single, Single, Single, Single)
Draws an ellipse with a dashed line by using the given brush and dimension.
Declaration
public void DashedEllipse(IBrush brush, float x, float y, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Single | x | The x-coordinate of the center of the ellipse. |
| Single | y | The y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
DashedGeometry(Geometry, IBrush, Single)
Draws a Geometry with dashed lines using the given brush and thickness.
Declaration
public void DashedGeometry(Geometry geometry, IBrush brush, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | The Geometry to be drawn. |
| IBrush | brush | A brush that determines the color of the text. |
| Single | stroke | A value that determines the width/thickness of the lines. |
DashedLine(IBrush, Line, Single)
Draws a dashed line at the given start and end point.
Declaration
public void DashedLine(IBrush brush, Line line, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Line | line | A Line structure including the start and end Point of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedLine(IBrush, Point, Point, Single)
Draws a dashed line at the given start and end point.
Declaration
public void DashedLine(IBrush brush, Point start, Point end, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Point | start | A Point structure including the start position of the line. |
| Point | end | A Point structure including the end position of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedLine(IBrush, Single, Single, Single, Single, Single)
Draws a dashed line at the given start and end point.
Declaration
public void DashedLine(IBrush brush, float startX, float startY, float endX, float endY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Single | startX | The start position of the line on the x-axis |
| Single | startY | The start position of the line on the y-axis |
| Single | endX | The end position of the line on the x-axis |
| Single | endY | The end position of the line on the y-axis |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedRectangle(IBrush, Rectangle, Single)
Draws a rectangle with dashed lines by using the given brush and dimension.
Declaration
public void DashedRectangle(IBrush brush, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure that determines the boundaries of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedRectangle(IBrush, Single, Single, Single, Single, Single)
Draws a rectangle with dashed lines by using the given brush and dimension.
Declaration
public void DashedRectangle(IBrush brush, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedRoundedRectangle(IBrush, RoundedRectangle, Single)
Draws a rectangle with rounded edges and dashed lines by using the given brush and dimension.
Declaration
public void DashedRoundedRectangle(IBrush brush, RoundedRectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| RoundedRectangle | rectangle | A RoundedRectangle structure including the dimension of the rounded rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedRoundedRectangle(IBrush, Single, Single, Single, Single, Single, Single)
Draws a rectangle with rounded edges and dashed lines by using the given brush and dimension.
Declaration
public void DashedRoundedRectangle(IBrush brush, float left, float top, float right, float bottom, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | radius | A value that determines radius of corners. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedTriangle(IBrush, Point, Point, Point, Single)
Draws a triangle with dashed lines using the given brush and dimension.
Declaration
public void DashedTriangle(IBrush brush, Point a, Point b, Point c, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Point | a | A Point structure including the coordinates of the lower-left corner of the triangle. |
| Point | b | A Point structure including the coordinates of the lower-right corner of the triangle. |
| Point | c | A Point structure including the coordinates of the upper-center corner of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedTriangle(IBrush, Triangle, Single)
Draws a triangle with dashed lines using the given brush and dimension.
Declaration
public void DashedTriangle(IBrush brush, Triangle triangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Triangle | triangle | A Triangle structure including the dimension of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DashedTriangle(IBrush, Single, Single, Single, Single, Single, Single, Single)
Draws a triangle with dashed lines using the given brush and dimension.
Declaration
public void DashedTriangle(IBrush brush, float aX, float aY, float bX, float bY, float cX, float cY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Single | aX | The x-coordinate lower-left corner of the triangle. |
| Single | aY | The y-coordinate lower-left corner of the triangle. |
| Single | bX | The x-coordinate lower-right corner of the triangle. |
| Single | bY | The y-coordinate lower-right corner of the triangle. |
| Single | cX | The x-coordinate upper-center corner of the triangle. |
| Single | cY | The y-coordinate upper-center corner of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
Destroy()
Destroys an already initialized Graphics surface and frees its resources.
Declaration
public void Destroy()
Dispose()
Releases all resources used by this Graphics surface.
Declaration
public void Dispose()
Dispose(Boolean)
Releases all resources used by this Graphics surface.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | disposing | A Boolean value indicating whether this is called from the destructor. |
DrawArrowLine(IBrush, Line, Single)
Draws a pointed line using the given brush and dimension.
Declaration
public void DrawArrowLine(IBrush brush, Line line, float size)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the arrow line. |
| Line | line | A Line structure including the start (direction) and end point of the arrow line. |
| Single | size | A value determining the size of the arrow line. |
DrawArrowLine(IBrush, Point, Point, Single)
Draws a pointed line using the given brush and dimension.
Declaration
public void DrawArrowLine(IBrush brush, Point start, Point end, float size)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the arrow line. |
| Point | start | A Point structure including the start position of the arrow line. (the direction it points to) |
| Point | end | A Point structure including the end position of the arrow line. (the direction it points to) |
| Single | size | A value determining the size of the arrow line. |
DrawArrowLine(IBrush, Single, Single, Single, Single, Single)
Draws a pointed line using the given brush and dimension.
Declaration
public void DrawArrowLine(IBrush brush, float startX, float startY, float endX, float endY, float size)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the arrow line. |
| Single | startX | The x-coordinate of the start of the arrow line. (the direction it points to) |
| Single | startY | The y-coordinate of the start of the arrow line. (the direction it points to) |
| Single | endX | The x-coordinate of the end of the arrow line. |
| Single | endY | The y-coordinate of the end of the arrow line. |
| Single | size | A value determining the size of the arrow line. |
DrawBox2D(IBrush, IBrush, Rectangle, Single)
Draws a 2D Box with an outline using the given brush and dimension.
Declaration
public void DrawBox2D(IBrush outline, IBrush fill, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure including the dimension of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawBox2D(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws a 2D Box with an outline using the given brush and dimension.
Declaration
public void DrawBox2D(IBrush outline, IBrush fill, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawCircle(IBrush, Circle, Single)
Draws a circle using the given brush and dimension.
Declaration
public void DrawCircle(IBrush brush, Circle circle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Circle | circle | A Circle structure which includes the dimension of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawCircle(IBrush, Point, Single, Single)
Draws a circle using the given brush and dimension.
Declaration
public void DrawCircle(IBrush brush, Point location, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawCircle(IBrush, Single, Single, Single, Single)
Draws a circle using the given brush and dimension.
Declaration
public void DrawCircle(IBrush brush, float x, float y, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Single | x | The x-coordinate of the center of the circle. |
| Single | y | The y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawCrosshair(IBrush, Point, Single, Single, CrosshairStyle)
Draws a crosshair by using the given brush and style.
Declaration
public void DrawCrosshair(IBrush brush, Point location, float size, float stroke, CrosshairStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the crosshair. |
| Point | location | A Location structure including the position of the crosshair. |
| Single | size | The size of the crosshair in pixels. |
| Single | stroke | A value that determines the width/thickness of the line. |
| CrosshairStyle | style | A value that determines the appearance of the crosshair. |
DrawCrosshair(IBrush, Single, Single, Single, Single, CrosshairStyle)
Draws a crosshair by using the given brush and style.
Declaration
public void DrawCrosshair(IBrush brush, float x, float y, float size, float stroke, CrosshairStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the crosshair. |
| Single | x | The x-coordinate of the center of the crosshair. |
| Single | y | The y-coordinate of the center of the crosshair. |
| Single | size | The size of the crosshair in pixels. |
| Single | stroke | A value that determines the width/thickness of the line. |
| CrosshairStyle | style | A value that determines the appearance of the crosshair. |
DrawEllipse(IBrush, Ellipse, Single)
Draws an ellipse by using the given brush and dimension.
Declaration
public void DrawEllipse(IBrush brush, Ellipse ellipse, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Ellipse | ellipse | An Ellipse structure which includes the dimension of the ellipse. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawEllipse(IBrush, Point, Single, Single, Single)
Draws an ellipse by using the given brush and dimension.
Declaration
public void DrawEllipse(IBrush brush, Point location, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of this ellipse on the x-axis. |
| Single | radiusY | The radius of this ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawEllipse(IBrush, Single, Single, Single, Single, Single)
Draws an ellipse by using the given brush and dimension.
Declaration
public void DrawEllipse(IBrush brush, float x, float y, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Single | x | The x-coordinate of the center of the ellipse. |
| Single | y | The y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of this ellipse on the x-axis. |
| Single | radiusY | The radius of this ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the circle. |
DrawGeometry(Geometry, IBrush, Single)
Draws a Geometry using the given brush and thickness.
Declaration
public void DrawGeometry(Geometry geometry, IBrush brush, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | The Geometry to be drawn. |
| IBrush | brush | A brush that determines the color of the text. |
| Single | stroke | A value that determines the width/thickness of the lines. |
DrawHorizontalProgressBar(IBrush, IBrush, Rectangle, Single, Single)
Draws a horizontal progrss bar using the given brush, dimension and percentage value.
Declaration
public void DrawHorizontalProgressBar(IBrush outline, IBrush fill, Rectangle rectangle, float stroke, float percentage)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the progress bar. |
| Rectangle | rectangle | A Rectangle structure including the dimension of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
| Single | percentage | A value indicating the progress in percent. |
DrawHorizontalProgressBar(IBrush, IBrush, Single, Single, Single, Single, Single, Single)
Draws a horizontal progrss bar using the given brush, dimension and percentage value.
Declaration
public void DrawHorizontalProgressBar(IBrush outline, IBrush fill, float left, float top, float right, float bottom, float stroke, float percentage)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the progress bar. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
| Single | percentage | A value indicating the progress in percent. |
DrawImage(Image, Point, Single)
Draws an image to the given position and optional applies an alpha value.
Declaration
public void DrawImage(Image image, Point location, float opacity = 1F)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | The Image to be drawn. |
| Point | location | A Point structure inclduing the position of the upper-left corner of the image. |
| Single | opacity | A value indicating the opacity of the image. (alpha) |
DrawImage(Image, Rectangle, Single, Boolean)
Draws an image to the given position, scales it and optional applies an alpha value.
Declaration
public void DrawImage(Image image, Rectangle rectangle, float opacity = 1F, bool linearScale = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | The Image to be drawn. |
| Rectangle | rectangle | A Rectangle structure inclduing the dimension of the image. |
| Single | opacity | A value indicating the opacity of the image. (alpha) |
| Boolean | linearScale | A Boolean indicating whether linear scaling should be applied |
DrawImage(Image, Single, Single, Single)
Draws an image to the given position and optional applies an alpha value.
Declaration
public void DrawImage(Image image, float x, float y, float opacity = 1F)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | The Image to be drawn. |
| Single | x | The x-coordinate upper-left corner of the image. |
| Single | y | The y-coordinate upper-left corner of the image. |
| Single | opacity | A value indicating the opacity of the image. (alpha) |
DrawImage(Image, Single, Single, Single, Single, Single, Boolean)
Draws an image to the given position, scales it and optional applies an alpha value.
Declaration
public void DrawImage(Image image, float left, float top, float right, float bottom, float opacity = 1F, bool linearScale = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | The Image to be drawn. |
| Single | left | The x-coordinate of the upper-left corner of the image. |
| Single | top | The y-coordinate of the upper-left corner of the image. |
| Single | right | The x-coordinate of the lower-right corner of the image. |
| Single | bottom | The y-coordinate of the lower-right corner of the image. |
| Single | opacity | A value indicating the opacity of the image. (alpha) |
| Boolean | linearScale | A Boolean indicating whether linear scaling should be applied |
DrawLine(IBrush, Line, Single)
Draws a line starting and ending at the given points.
Declaration
public void DrawLine(IBrush brush, Line line, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Line | line | A Line structure including the start and end Point of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawLine(IBrush, Point, Point, Single)
Draws a line starting and ending at the given points.
Declaration
public void DrawLine(IBrush brush, Point start, Point end, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Point | start | A Point structure including the start position of the line. |
| Point | end | A Point structure including the end position of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawLine(IBrush, Single, Single, Single, Single, Single)
Draws a line starting and ending at the given points.
Declaration
public void DrawLine(IBrush brush, float startX, float startY, float endX, float endY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the line. |
| Single | startX | The start position of the line on the x-axis |
| Single | startY | The start position of the line on the y-axis |
| Single | endX | The end position of the line on the x-axis |
| Single | endY | The end position of the line on the y-axis |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRectangle(IBrush, Rectangle, Single)
Draws a rectangle by using the given brush and dimension.
Declaration
public void DrawRectangle(IBrush brush, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure that determines the boundaries of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRectangle(IBrush, Single, Single, Single, Single, Single)
Draws a rectangle by using the given brush and dimension.
Declaration
public void DrawRectangle(IBrush brush, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRectangleEdges(IBrush, Rectangle, Single)
Draws the corners (edges) of a rectangle using the given brush and dimension.
Declaration
public void DrawRectangleEdges(IBrush brush, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure including the dimension of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRectangleEdges(IBrush, Single, Single, Single, Single, Single)
Draws the corners (edges) of a rectangle using the given brush and dimension.
Declaration
public void DrawRectangleEdges(IBrush brush, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRoundedRectangle(IBrush, RoundedRectangle, Single)
Draws a rectangle with rounded edges by using the given brush and dimension.
Declaration
public void DrawRoundedRectangle(IBrush brush, RoundedRectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| RoundedRectangle | rectangle | A RoundedRectangle structure including the dimension of the rounded rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawRoundedRectangle(IBrush, Single, Single, Single, Single, Single, Single)
Draws a rectangle with rounded edges by using the given brush and dimension.
Declaration
public void DrawRoundedRectangle(IBrush brush, float left, float top, float right, float bottom, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | radius | A value that determines radius of corners. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawText(Font, IBrush, Point, String)
Draws a string using the given font and position.
Declaration
public void DrawText(Font font, IBrush brush, Point location, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| IBrush | brush | A brush that determines the color of the text. |
| Point | location | A Point structure including the starting position. |
| String | text | The string to be drawn. |
DrawText(Font, IBrush, Single, Single, String)
Draws a string using the given font and position.
Declaration
public void DrawText(Font font, IBrush brush, float x, float y, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| IBrush | brush | A brush that determines the color of the text. |
| Single | x | The x-coordinate of the starting position. |
| Single | y | The y-coordinate of the starting position. |
| String | text | The string to be drawn. |
DrawText(Font, Single, IBrush, Point, String)
Draws a string using the given font, size and position.
Declaration
public void DrawText(Font font, float fontSize, IBrush brush, Point location, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| Single | fontSize | The size of the Font. (does not need to be the same as in Font.FontSize) |
| IBrush | brush | A brush that determines the color of the text. |
| Point | location | A Point structure including the starting position. |
| String | text | The string to be drawn. |
DrawText(Font, Single, IBrush, Single, Single, String)
Draws a string using the given font, size and position.
Declaration
public void DrawText(Font font, float fontSize, IBrush brush, float x, float y, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| Single | fontSize | The size of the Font. (does not need to be the same as in Font.FontSize) |
| IBrush | brush | A brush that determines the color of the text. |
| Single | x | The x-coordinate of the starting position. |
| Single | y | The y-coordinate of the starting position. |
| String | text | The string to be drawn. |
DrawTextWithBackground(Font, IBrush, IBrush, Point, String)
Draws a string with a background box in behind using the given font, size and position.
Declaration
public void DrawTextWithBackground(Font font, IBrush brush, IBrush background, Point location, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| IBrush | brush | A brush that determines the color of the text. |
| IBrush | background | A brush that determines the color of the background box. |
| Point | location | A Point structure including the starting position. |
| String | text | The string to be drawn. |
DrawTextWithBackground(Font, IBrush, IBrush, Single, Single, String)
Draws a string with a background box in behind using the given font, size and position.
Declaration
public void DrawTextWithBackground(Font font, IBrush brush, IBrush background, float x, float y, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| IBrush | brush | A brush that determines the color of the text. |
| IBrush | background | A brush that determines the color of the background box. |
| Single | x | The x-coordinate of the starting position. |
| Single | y | The y-coordinate of the starting position. |
| String | text | The string to be drawn. |
DrawTextWithBackground(Font, Single, IBrush, IBrush, Point, String)
Draws a string with a background box in behind using the given font, size and position.
Declaration
public void DrawTextWithBackground(Font font, float fontSize, IBrush brush, IBrush background, Point location, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| Single | fontSize | The size of the Font. (does not need to be the same as in Font.FontSize) |
| IBrush | brush | A brush that determines the color of the text. |
| IBrush | background | A brush that determines the color of the background box. |
| Point | location | A Point structure including the starting position. |
| String | text | The string to be drawn. |
DrawTextWithBackground(Font, Single, IBrush, IBrush, Single, Single, String)
Draws a string with a background box in behind using the given font, size and position.
Declaration
public void DrawTextWithBackground(Font font, float fontSize, IBrush brush, IBrush background, float x, float y, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to be used to draw the string. |
| Single | fontSize | The size of the Font. (does not need to be the same as in Font.FontSize) |
| IBrush | brush | A brush that determines the color of the text. |
| IBrush | background | A brush that determines the color of the background box. |
| Single | x | The x-coordinate of the starting position. |
| Single | y | The y-coordinate of the starting position. |
| String | text | The string to be drawn. |
DrawTriangle(IBrush, Point, Point, Point, Single)
Draws a triangle using the given brush and dimension.
Declaration
public void DrawTriangle(IBrush brush, Point a, Point b, Point c, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Point | a | A Point structure including the coordinates of the lower-left corner of the triangle. |
| Point | b | A Point structure including the coordinates of the lower-right corner of the triangle. |
| Point | c | A Point structure including the coordinates of the upper-center corner of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawTriangle(IBrush, Triangle, Single)
Draws a triangle using the given brush and dimension.
Declaration
public void DrawTriangle(IBrush brush, Triangle triangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Triangle | triangle | A Triangle structure including the dimension of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawTriangle(IBrush, Single, Single, Single, Single, Single, Single, Single)
Draws a triangle using the given brush and dimension.
Declaration
public void DrawTriangle(IBrush brush, float aX, float aY, float bX, float bY, float cX, float cY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Single | aX | The x-coordinate lower-left corner of the triangle. |
| Single | aY | The y-coordinate lower-left corner of the triangle. |
| Single | bX | The x-coordinate lower-right corner of the triangle. |
| Single | bY | The y-coordinate lower-right corner of the triangle. |
| Single | cX | The x-coordinate upper-center corner of the triangle. |
| Single | cY | The y-coordinate upper-center corner of the triangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
DrawVerticalProgressBar(IBrush, IBrush, Rectangle, Single, Single)
Draws a vertical progrss bar using the given brush, dimension and percentage value.
Declaration
public void DrawVerticalProgressBar(IBrush outline, IBrush fill, Rectangle rectangle, float stroke, float percentage)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the progress bar. |
| Rectangle | rectangle | A Rectangle structure including the dimension of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
| Single | percentage | A value indicating the progress in percent. |
DrawVerticalProgressBar(IBrush, IBrush, Single, Single, Single, Single, Single, Single)
Draws a vertical progrss bar using the given brush, dimension and percentage value.
Declaration
public void DrawVerticalProgressBar(IBrush outline, IBrush fill, float left, float top, float right, float bottom, float stroke, float percentage)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the progress bar. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
| Single | percentage | A value indicating the progress in percent. |
EndScene()
Ends the current Scene (Frame).
Declaration
public void EndScene()
Equals(Graphics)
Returns a value indicating whether two specified instances of Graphics represent the same value.
Declaration
public bool Equals(Graphics value)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | value | An object to compare to this instance. |
Returns
| Type | Description |
|---|---|
| Boolean | true if |
Equals(Graphics, Graphics)
Returns a value indicating whether two specified instances of Graphics represent the same value.
Declaration
public static bool Equals(Graphics left, Graphics right)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | left | The first object to compare. |
| Graphics | right | The second object to compare. |
Returns
| Type | Description |
|---|---|
| Boolean | true if |
Equals(Object)
Returns a value indicating whether this instance and a specified Object represent the same type and value.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| Boolean | true if |
Overrides
| Improve this Doc View SourceFillCircle(IBrush, Circle)
Fills a circle by using the given brush and dimesnion.
Declaration
public void FillCircle(IBrush brush, Circle circle)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Circle | circle | A Circle structure which includes the dimension of the circle. |
FillCircle(IBrush, Point, Single)
Fills a circle by using the given brush and dimesnion.
Declaration
public void FillCircle(IBrush brush, Point location, float radius)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
FillCircle(IBrush, Single, Single, Single)
Fills a circle by using the given brush and dimesnion.
Declaration
public void FillCircle(IBrush brush, float x, float y, float radius)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the circle. |
| Single | x | The x-coordinate of the center of the circle. |
| Single | y | The y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
FillEllipse(IBrush, Ellipse)
Fills an ellipse by using the given brush and dimesnion.
Declaration
public void FillEllipse(IBrush brush, Ellipse ellipse)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Ellipse | ellipse | An Ellipse structure which includes the dimension of the ellipse. |
FillEllipse(IBrush, Point, Single, Single)
Fills an ellipse by using the given brush and dimesnion.
Declaration
public void FillEllipse(IBrush brush, Point location, float radiusX, float radiusY)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
FillEllipse(IBrush, Single, Single, Single, Single)
Fills an ellipse by using the given brush and dimesnion.
Declaration
public void FillEllipse(IBrush brush, float x, float y, float radiusX, float radiusY)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the ellipse. |
| Single | x | The x-coordinate of the center of the ellipse. |
| Single | y | The y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
FillGeometry(Geometry, IBrush)
Fills the Geometry using the given brush.
Declaration
public void FillGeometry(Geometry geometry, IBrush brush)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | The Geometry to be drawn. |
| IBrush | brush | A brush that determines the color of the text. |
FillMesh(Mesh, IBrush)
Fills the Mesh using the given brush.
Declaration
public void FillMesh(Mesh mesh, IBrush brush)
Parameters
| Type | Name | Description |
|---|---|---|
| SharpDX.Direct2D1.Mesh | mesh | The Mesh to be drawn. |
| IBrush | brush | A brush that determines the color of the text. |
FillRectangle(IBrush, Rectangle)
Fills a rectangle by using the given brush and dimension.
Declaration
public void FillRectangle(IBrush brush, Rectangle rectangle)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure that determines the boundaries of the rectangle. |
FillRectangle(IBrush, Single, Single, Single, Single)
Fills a rectangle by using the given brush and dimension.
Declaration
public void FillRectangle(IBrush brush, float left, float top, float right, float bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
FillRoundedRectangle(IBrush, RoundedRectangle)
Fills a rounded rectangle using the given brush and dimension.
Declaration
public void FillRoundedRectangle(IBrush brush, RoundedRectangle rectangle)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| RoundedRectangle | rectangle | A RoundedRectangle structure including the dimension of the rounded rectangle. |
FillRoundedRectangle(IBrush, Single, Single, Single, Single, Single)
Fills a rounded rectangle using the given brush and dimension.
Declaration
public void FillRoundedRectangle(IBrush brush, float left, float top, float right, float bottom, float radius)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | radius | A value that determines radius of corners. |
FillTriangle(IBrush, Point, Point, Point)
Fills a triangle using the given brush and dimension.
Declaration
public void FillTriangle(IBrush brush, Point a, Point b, Point c)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Point | a | A Point structure including the coordinates of the lower-left corner of the triangle. |
| Point | b | A Point structure including the coordinates of the lower-right corner of the triangle. |
| Point | c | A Point structure including the coordinates of the upper-center corner of the triangle. |
FillTriangle(IBrush, Triangle)
Fills a triangle using the given brush and dimension.
Declaration
public void FillTriangle(IBrush brush, Triangle triangle)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Triangle | triangle | A Triangle structure including the dimension of the triangle. |
FillTriangle(IBrush, Single, Single, Single, Single, Single, Single)
Fills a triangle using the given brush and dimension.
Declaration
public void FillTriangle(IBrush brush, float aX, float aY, float bX, float bY, float cX, float cY)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | brush | A brush that determines the color of the triangle. |
| Single | aX | The x-coordinate lower-left corner of the triangle. |
| Single | aY | The y-coordinate lower-left corner of the triangle. |
| Single | bX | The x-coordinate lower-right corner of the triangle. |
| Single | bY | The y-coordinate lower-right corner of the triangle. |
| Single | cX | The x-coordinate upper-center corner of the triangle. |
| Single | cY | The y-coordinate upper-center corner of the triangle. |
Finalize()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Declaration
protected void Finalize()
GetFactory()
Gets the Factory used by this Graphics surface.
Declaration
public Factory GetFactory()
Returns
| Type | Description |
|---|---|
| SharpDX.Direct2D1.Factory | The Factory of this Graphics surface. |
GetFontFactory()
Gets the FontFactory used by this Graphics surface.
Declaration
public Factory GetFontFactory()
Returns
| Type | Description |
|---|---|
| SharpDX.DirectWrite.Factory | The FontFactory of this Graphics surface. |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A 32-bit signed integer hash code. |
Overrides
| Improve this Doc View SourceGetRenderTarget()
Gets the RenderTarget used by this Graphics surface.
Declaration
public RenderTarget GetRenderTarget()
Returns
| Type | Description |
|---|---|
| SharpDX.Direct2D1.RenderTarget | The RenderTarget of this Graphics surface. |
MeasureString(Font, Single, String)
Measures the specified string when drawn with the specified Font.
Declaration
public Point MeasureString(Font font, float fontSize, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | Font that defines the text format of the string. |
| Single | fontSize | The size of the Font. (does not need to be the same as in Font.FontSize) |
| String | text | String to measure. |
Returns
| Type | Description |
|---|---|
| Point | This method returns a Point containing the width (x) and height (y) of the given text. |
MeasureString(Font, String)
Measures the specified string when drawn with the specified Font.
Declaration
public Point MeasureString(Font font, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | Font that defines the text format of the string. |
| String | text | String to measure. |
Returns
| Type | Description |
|---|---|
| Point | This method returns a Point containing the width (x) and height (y) of the given text. |
OutlineCircle(IBrush, IBrush, Circle, Single)
Draws a circle with an outline around it using the given brush and dimension.
Declaration
public void OutlineCircle(IBrush outline, IBrush fill, Circle circle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Circle | circle | A Circle structure which includes the dimension of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineCircle(IBrush, IBrush, Point, Single, Single)
Draws a circle with an outline around it using the given brush and dimension.
Declaration
public void OutlineCircle(IBrush outline, IBrush fill, Point location, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineCircle(IBrush, IBrush, Single, Single, Single, Single)
Draws a circle with an outline around it using the given brush and dimension.
Declaration
public void OutlineCircle(IBrush outline, IBrush fill, float x, float y, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Single | x | The x-coordinate of the center of the circle. |
| Single | y | The y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineEllipse(IBrush, IBrush, Ellipse, Single)
Draws an ellipse with an outline around it using the given brush and dimension.
Declaration
public void OutlineEllipse(IBrush outline, IBrush fill, Ellipse ellipse, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Ellipse | ellipse | An Ellipse structure which includes the dimension of the ellipse. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineEllipse(IBrush, IBrush, Point, Single, Single, Single)
Draws an ellipse with an outline around it using the given brush and dimension.
Declaration
public void OutlineEllipse(IBrush outline, IBrush fill, Point location, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineEllipse(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws an ellipse with an outline around it using the given brush and dimension.
Declaration
public void OutlineEllipse(IBrush outline, IBrush fill, float x, float y, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Single | x | The x-coordinate of the center of the ellipse. |
| Single | y | The y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineFillCircle(IBrush, IBrush, Circle, Single)
Draws a filled circle with an outline around it.
Declaration
public void OutlineFillCircle(IBrush outline, IBrush fill, Circle circle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Circle | circle | A Circle structure which includes the dimension of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineFillCircle(IBrush, IBrush, Point, Single, Single)
Draws a filled circle with an outline around it.
Declaration
public void OutlineFillCircle(IBrush outline, IBrush fill, Point location, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineFillCircle(IBrush, IBrush, Single, Single, Single, Single)
Draws a filled circle with an outline around it.
Declaration
public void OutlineFillCircle(IBrush outline, IBrush fill, float x, float y, float radius, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the circle. |
| Single | x | The x-coordinate of the center of the circle. |
| Single | y | The y-coordinate of the center of the circle. |
| Single | radius | The radius of the circle. |
| Single | stroke | A value that determines the width/thickness of the circle. |
OutlineFillEllipse(IBrush, IBrush, Ellipse, Single)
Draws a filled ellipse with an outline around it.
Declaration
public void OutlineFillEllipse(IBrush outline, IBrush fill, Ellipse ellipse, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Ellipse | ellipse | An Ellipse structure which includes the dimension of the ellipse. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineFillEllipse(IBrush, IBrush, Point, Single, Single, Single)
Draws a filled ellipse with an outline around it.
Declaration
public void OutlineFillEllipse(IBrush outline, IBrush fill, Point location, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Point | location | A Point structureure which includes the x- and y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineFillEllipse(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws a filled ellipse with an outline around it.
Declaration
public void OutlineFillEllipse(IBrush outline, IBrush fill, float x, float y, float radiusX, float radiusY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the ellipse. |
| Single | x | The x-coordinate of the center of the ellipse. |
| Single | y | The y-coordinate of the center of the ellipse. |
| Single | radiusX | The radius of the ellipse on the x-axis. |
| Single | radiusY | The radius of the ellipse on the y-axis. |
| Single | stroke | A value that determines the width/thickness of the ellipse. |
OutlineFillRectangle(IBrush, IBrush, Rectangle, Single)
Draws a filled rectangle with an outline around it by using the given brush and dimension.
Declaration
public void OutlineFillRectangle(IBrush outline, IBrush fill, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure that determines the boundaries of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineFillRectangle(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws a filled rectangle with an outline around it by using the given brush and dimension.
Declaration
public void OutlineFillRectangle(IBrush outline, IBrush fill, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineLine(IBrush, IBrush, Line, Single)
Draws a line at the given start and end point with an outline around it.
Declaration
public void OutlineLine(IBrush outline, IBrush fill, Line line, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the line. |
| Line | line | A Line structure including the start and end Point of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineLine(IBrush, IBrush, Point, Point, Single)
Draws a line at the given start and end point with an outline around it.
Declaration
public void OutlineLine(IBrush outline, IBrush fill, Point start, Point end, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the line. |
| Point | start | A Point structure including the start position of the line. |
| Point | end | A Point structure including the end position of the line. |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineLine(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws a line at the given start and end point with an outline around it.
Declaration
public void OutlineLine(IBrush outline, IBrush fill, float startX, float startY, float endX, float endY, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the line. |
| Single | startX | The start position of the line on the x-axis |
| Single | startY | The start position of the line on the y-axis |
| Single | endX | The end position of the line on the x-axis |
| Single | endY | The end position of the line on the y-axis |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineRectangle(IBrush, IBrush, Rectangle, Single)
Draws a rectangle with an outline around it by using the given brush and dimension.
Declaration
public void OutlineRectangle(IBrush outline, IBrush fill, Rectangle rectangle, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Rectangle | rectangle | A Rectangle structure that determines the boundaries of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
OutlineRectangle(IBrush, IBrush, Single, Single, Single, Single, Single)
Draws a rectangle with an outline around it by using the given brush and dimension.
Declaration
public void OutlineRectangle(IBrush outline, IBrush fill, float left, float top, float right, float bottom, float stroke)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrush | outline | A brush that determines the color of the outline. |
| IBrush | fill | A brush that determines the color of the rectangle. |
| Single | left | The x-coordinate of the upper-left corner of the rectangle. |
| Single | top | The y-coordinate of the upper-left corner of the rectangle. |
| Single | right | The x-coordinate of the lower-right corner of the rectangle. |
| Single | bottom | The y-coordinate of the lower-right corner of the rectangle. |
| Single | stroke | A value that determines the width/thickness of the line. |
Recreate(IntPtr)
Destroys the current drawing device and creates a new one with the same attributes.
Declaration
public void Recreate(IntPtr hwnd = default(IntPtr))
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | hwnd | Uses the new window as the surface if set. |
Resize(Int32, Int32)
Tells the Graphics surface to resize itself on the next Scene.
Declaration
public void Resize(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | width | A value Determining the new width of this Graphics surface. |
| Int32 | height | A value Determining the new height of this Graphics surface. |
Setup()
Sets up and finishes the initialization of this Graphics surface by using this objects properties.
Declaration
public void Setup()
ToString()
Converts this Graphics instance to a human-readable string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | A string representation of this Graphics. |
Overrides
| Improve this Doc View SourceTransformEnd()
Removes the transformation matrix. it does not change the position, shape, or size of any drawing operations anymore.
Declaration
public void TransformEnd()
TransformStart(TransformationMatrix)
Specifies a matrix to which all subsequent drawing operations are transformed.
Declaration
public void TransformStart(TransformationMatrix matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| TransformationMatrix | matrix | The matrix used for the transformation. |
UseScene()
Creates a new Scene which handles BeginScene and EndScene within a using block.
Declaration
public Scene UseScene()
Returns
| Type | Description |
|---|---|
| Scene | The Scene this method creates. |
Events
| Improve this Doc View SourceRecreateResources
Fires when the device gets recreated. Brushes and images need to be created again since the device has changed.
Declaration
public event EventHandler<RecreateResourcesEventArgs> RecreateResources
Event Type
| Type | Description |
|---|---|
| EventHandler<RecreateResourcesEventArgs> |


Hello, I'm Atul.
Analyze - Reimagine - Innovate
A few fun facts about myself
I love coffee. I have cat named 'Simba', my favorite number is 7, I knew what i wanted to do at the age of 17, love to do bike riding.


Check any of these options to skip entirely restoration of package management state, changes to the filesystem or database contents. For more selective control over the restoration process, use restore limits.
Remember, if you make a mistake you can rollback the last restore and try again.


Does contain utility classes and interfaces. E.g. the wrapped Logger and base classes for event observing.


-
I♡READ
-
I♡READ is a book list SPA.
It's designed with Bootstrap-vue, truly responsive across platforms and based on powerful Vue.js and modern UI framework Bootstrap-vue. - JS Try it
-
I♡READ is a book list SPA.
-
myTunes
- myTunes, a prograssive landing page modeled after iTunes page. It's truly responsive across platforms and mainly based on HTML5, CSS3 and.
- JS Demo
-
Blog
- A blog built by Express.js and MongoDB, uses ES6 syntax and uses Babel as compiler. Front-end, made with customized Bootstrap 4, Vue.js. Signin and signup, use JWT to encode and decode user account, and encrypt user info by bcrypt. Articles are parsed by marked and highlight.js.
- Github
-
Words In Our Heart
- "Words In Our Heart" is a web page, which records our words written at the beginnig of learning programming.
- JS Demo


A family member is coming to the UK to live and wants information on housing.
They have heard there are a number of options and have asked you for advice.
Identify the options available to them and recommend which they should choose.
Give reasons to support your recommendation.


--- layout: default title: Using images with imagesloaded.js description: A Shuffle.js demo using Desandro's imagesLoaded plugin. This comes in very handy when using shuffle with images affect the layout of shuffle items image: /demos/images.jpg extraJS: [ "imagesloaded.pkgd.js", "demos/images.js"] prism: true ---
You can encounter problems when shuffle item dimensions depend on images. Like this demo. There are three good solutions to this.
.shuffle-item
s like the basic demo.div.keep-ratio
.{{ site.longDescription }}


Destination
We will go wherever you want us to go. Islands, beaches, woods, mountains, or cities. How we get there is our concern. Choose wisely. ;)
"Travel and change of place impart new vigour to the mind."
Seneca
Omega Flex is a travel agency that helps natural beauty seekers by insuring all aspects of their adventures, which comprehend, safety, planning,
discovery, and last but not least the fun along the way.
Here are some adventures that illustrate our last year:
We will go wherever you want us to go. Islands, beaches, woods, mountains, or cities. How we get there is our concern. Choose wisely. ;)
Too many things to explore? We are here to help you organize and plan your trip so you get to visit everything you desired.
We always ensure the place where you stay, whether it be a Hotel room, in the woods, or even on a summit. We also ensure your meals according to your preferences.
Need a surf board? a tent? swimming gear? We have got your back. Wherever you're planning to go, we'll worry about the eventual stuff you need.


By Bruce Changlong Xu
你的运动量现在有多大呢？无论你想参加奥运会或者只是想保持自己的身心健 康，能够找到自己喜爱的运动确实有无数种好处。你在篮球或者乒乓球场上能够遇到 来自不同背景志同道合的朋友。打一场篮球比赛、在跑道上奔跑五公里会为你带来充 分的成就感，从而让你从早晨一直到黄昏时有更多精神，更多快乐。特别在现代日新 月异、平凡飘忽的社会里，运动在你的生活中会带来更多常规。
Physical movement is important in more ways than one. Whether at a competitive level or simply as a hobby, finding a sport to enjoy is so crucial to maintaining one’s happiness. Not only does sport bring people from different backgrounds together, playing sport also provides a sense of accomplishment that stays with you throughout the day and the week.
如今，很多科学研究已经证明了运动量以及快乐心情的正相关。童年时，我们 的运动量比较大，经常会到朋友家去打足球、玩捉迷藏类似的游戏。但岁月流逝，我 们逐渐的开始忽略运动在我们生活中的角色，说服自己没有时间在外面活动。其实养 成定期运动的习惯是一种正强化的概念 --- 在生活中有更多运动
Countless scientific studies have demonstrated a positive correlation between physical activity and happier moods, perhaps partially explaining why the youth (who make more time for exercise) seem to have boundless energy. It’s a positive reinforcement cycle, where more exercise leads to more energy, which leads to more exercise. Even a few jumping jacks or a brief trot around the block in the morning can help you get the endorphins going, and it doesn’t take a world class scientist to figure out that this is good for you.
如何能够找到时间去运动呢？
One might ask, how do I find time for this? How do I fit an already busy, hectic and stressful schedule and professional life with consistent exercise? It turns out that that it really doesn’t take much. 30 minutes in a day, that’s all it takes.  Find a regular route to run, a mountain to hike or pool to swim in. The benefits of half an hour of exercise more than compensates the opportunity cost of the same amount of lost time at work. Maintaining one’s health in such a regular manner thwarts off disease and could potentially add months and years to one’s lifespan. We often cite concepts such as genetics, hormonal imbalance or hypothyroidism as causal factors for conditions such as obesity – but it’s important to not forget the basics: Drink enough water, sleep well and exercise frequently.
If governments around the world really wanted to increase the productivity of their workforce, I would recommend placing less emphasis on funding political campaigns, convoluted bureaucratic systems or dream about the currently out of reach capabilities of artificial intelligence. I would recommend keeping things simple. Just by giving their citizens time to pursue fulfilling and healthy activities like exercise, our communities will be so much happier.


This is a section one paragraph
This is a section two paragraph
This is a section three paragraph
Apple.
Microsoft.
This is a link


Change BG
Select the color from the below options to change the Background of this page into :-
Select Color
Red
Blue
Green
Yellow
Black
Pink
Grey
Orange
Light Blue
Light Green
Light Grey
Reset