Bug 18011 - Android.Graphics.Paint.StrokeWidth property misleadingly tells it returns the value. While it can also be set.
Summary: Android.Graphics.Paint.StrokeWidth property misleadingly tells it returns the...
Status: NEW
Alias: None
Product: Documentation
Classification: Xamarin
Component: Mono for Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-02-26 05:15 UTC by Ali Akdurak
Modified: 2014-02-26 13:29 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 18011 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Ali Akdurak 2014-02-26 05:15:11 UTC
Android.Graphics.Paint.StrokeWidth property misleadingly tells it returns the value.

This is misleading as this property can also be set with a value. I was looking for a setStrokeWidth function then realized that in conversion the documentation from getStrokeWidth is probably copied on the property.
Comment 1 bryan costanich 2014-02-26 13:21:52 UTC
jonp, we should talk about this.
Comment 2 Jonathan Pryor 2014-02-26 13:29:40 UTC
The perils of documentation import tooling!

The reason this happens is that we import the Android API docs to generate the Xamarin.Android API docs, and for <summary/> information we prefer the "summary" of the get method over the "summary" of the set method. (We could plausibly show both, but then one-line summaries would become 2+ line summaries...)