Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / ColorBlend.cs / 1 / ColorBlend.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Drawing2D { using System.Diagnostics; using System; using System.Drawing; ////// /// Defines arrays of colors and positions used /// for interpolating color blending in a gradient. /// public sealed class ColorBlend { Color[] colors; float[] positions; ////// /// Initializes a new instance of the public ColorBlend() { colors = new Color[1]; positions = new float[1]; } ///class. /// /// /// public ColorBlend(int count) { colors = new Color[count]; positions = new float[count]; } ////// Initializes a new instance of the ///class with the specified number of /// colors and positions. /// /// /// Represents an array of colors. /// public Color[] Colors { get { return colors; } set { colors = value; } } ////// /// Represents the positions along a gradient /// line. /// public float[] Positions { get { return positions; } set { positions = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Drawing2D { using System.Diagnostics; using System; using System.Drawing; ////// /// Defines arrays of colors and positions used /// for interpolating color blending in a gradient. /// public sealed class ColorBlend { Color[] colors; float[] positions; ////// /// Initializes a new instance of the public ColorBlend() { colors = new Color[1]; positions = new float[1]; } ///class. /// /// /// public ColorBlend(int count) { colors = new Color[count]; positions = new float[count]; } ////// Initializes a new instance of the ///class with the specified number of /// colors and positions. /// /// /// Represents an array of colors. /// public Color[] Colors { get { return colors; } set { colors = value; } } ////// /// Represents the positions along a gradient /// line. /// public float[] Positions { get { return positions; } set { positions = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorsHelper.cs
- RepeaterCommandEventArgs.cs
- FontInfo.cs
- Selector.cs
- UnmanagedHandle.cs
- CryptographicAttribute.cs
- Registry.cs
- SimpleWebHandlerParser.cs
- filewebrequest.cs
- tooltip.cs
- SchemaMerger.cs
- AutomationProperties.cs
- CookieParameter.cs
- Italic.cs
- DataControlButton.cs
- ListViewDataItem.cs
- DebugHandleTracker.cs
- MessageEnumerator.cs
- PackageProperties.cs
- sqlcontext.cs
- ILGenerator.cs
- SqlProfileProvider.cs
- ReservationNotFoundException.cs
- TaskFactory.cs
- Vector3DAnimationUsingKeyFrames.cs
- FilterableData.cs
- Persist.cs
- ValidationHelpers.cs
- InvalidPrinterException.cs
- DropSource.cs
- RSACryptoServiceProvider.cs
- SystemColors.cs
- BamlCollectionHolder.cs
- SqlCachedBuffer.cs
- EqualityComparer.cs
- ObjectSecurity.cs
- DataGridTableCollection.cs
- TableAdapterManagerHelper.cs
- Parameter.cs
- SystemGatewayIPAddressInformation.cs
- StylusLogic.cs
- ValidateNames.cs
- DrawingBrush.cs
- GridItem.cs
- Substitution.cs
- SystemEvents.cs
- BufferedReceiveManager.cs
- PropagatorResult.cs
- ChangeProcessor.cs
- OverlappedAsyncResult.cs
- XmlSchemaIdentityConstraint.cs
- SkipStoryboardToFill.cs
- TableRow.cs
- WithStatement.cs
- HttpListenerPrefixCollection.cs
- CreateParams.cs
- Validator.cs
- SourceLocation.cs
- AuthorizationPolicyTypeElement.cs
- StoragePropertyMapping.cs
- PopupControlService.cs
- DataGridItemCollection.cs
- Empty.cs
- StreamGeometry.cs
- LocalFileSettingsProvider.cs
- SHA512Cng.cs
- XmlSchemaAppInfo.cs
- EtwTrace.cs
- FilteredAttributeCollection.cs
- DefaultBindingPropertyAttribute.cs
- ConfigPathUtility.cs
- FormatterConverter.cs
- WmpBitmapDecoder.cs
- WindowsToolbar.cs
- ActionFrame.cs
- dbenumerator.cs
- Run.cs
- AlternateView.cs
- CreateRefExpr.cs
- ZeroOpNode.cs
- EmptyCollection.cs
- DriveInfo.cs
- CodeTypeMemberCollection.cs
- QuaternionAnimationUsingKeyFrames.cs
- DefaultPropertyAttribute.cs
- BaseCollection.cs
- SqlFactory.cs
- FormsAuthenticationUser.cs
- DragDeltaEventArgs.cs
- DSGeneratorProblem.cs
- TagPrefixAttribute.cs
- SqlSelectStatement.cs
- SecurityElement.cs
- DetailsViewRowCollection.cs
- PropertyAccessVisitor.cs
- BaseValidator.cs
- TemplateNodeContextMenu.cs
- DiscoveryReferences.cs
- InfoCardRSACryptoProvider.cs
- XmlSignatureManifest.cs