Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WebMessageEncodingBindingElement.cs
- ConfigurationManagerHelper.cs
- SQLMoneyStorage.cs
- SortKey.cs
- PerfCounterSection.cs
- TextRangeBase.cs
- CustomSignedXml.cs
- BrushValueSerializer.cs
- NestedContainer.cs
- InputManager.cs
- InlineCategoriesDocument.cs
- ZipIOExtraField.cs
- Subtree.cs
- TrustManagerPromptUI.cs
- _UriSyntax.cs
- SoapCommonClasses.cs
- EtwTrace.cs
- DataGridCommandEventArgs.cs
- LinkedResourceCollection.cs
- NameSpaceEvent.cs
- EntityContainerEntitySetDefiningQuery.cs
- QuaternionConverter.cs
- ModelPropertyImpl.cs
- DataBinder.cs
- TriggerCollection.cs
- SiteMapDataSource.cs
- ServiceContractGenerator.cs
- DataExpression.cs
- SymbolDocumentInfo.cs
- PointF.cs
- XsdSchemaFileEditor.cs
- SmiRecordBuffer.cs
- XmlName.cs
- InternalsVisibleToAttribute.cs
- RectAnimation.cs
- TextTreeExtractElementUndoUnit.cs
- SqlReorderer.cs
- UpdateCompiler.cs
- ContextBase.cs
- SubMenuStyle.cs
- DataGridHelper.cs
- HtmlFormParameterReader.cs
- TypeBuilderInstantiation.cs
- XmlSchemaAll.cs
- GetIsBrowserClientRequest.cs
- DefaultBinder.cs
- TypeUtils.cs
- AssemblyNameEqualityComparer.cs
- TemplateInstanceAttribute.cs
- TreeNodeBinding.cs
- ClientApiGenerator.cs
- TextEditor.cs
- ActivationWorker.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- PointLightBase.cs
- DataGridViewTopRowAccessibleObject.cs
- Tablet.cs
- RenderCapability.cs
- TextEffectResolver.cs
- SqlCacheDependencySection.cs
- StylusPointPropertyInfo.cs
- SpeechDetectedEventArgs.cs
- OnOperation.cs
- CodeSnippetCompileUnit.cs
- BamlResourceContent.cs
- TabItemAutomationPeer.cs
- StringUtil.cs
- XsltFunctions.cs
- UnsafeNativeMethods.cs
- MimeFormReflector.cs
- DirectoryInfo.cs
- DataGridTableCollection.cs
- GetLastErrorDetailsRequest.cs
- AsnEncodedData.cs
- CurrencyWrapper.cs
- AQNBuilder.cs
- RuntimeCompatibilityAttribute.cs
- DataRelationPropertyDescriptor.cs
- ThemeDirectoryCompiler.cs
- HandleCollector.cs
- GatewayDefinition.cs
- UrlAuthorizationModule.cs
- FixedPageProcessor.cs
- CalendarTable.cs
- ISAPIApplicationHost.cs
- XmlnsCache.cs
- TransactionChannel.cs
- Stack.cs
- peersecuritysettings.cs
- SoapSchemaImporter.cs
- DataRowChangeEvent.cs
- CodeExporter.cs
- _ProxyRegBlob.cs
- XmlSiteMapProvider.cs
- IndicCharClassifier.cs
- MarkupExtensionReturnTypeAttribute.cs
- NonSerializedAttribute.cs
- OutputCacheProfileCollection.cs
- DispatcherObject.cs
- SqlCachedBuffer.cs